ajout agent server
This commit is contained in:
parent
41894ca7b7
commit
4d653c54aa
|
@ -2,6 +2,20 @@
|
||||||
title: Howto New Relic
|
title: Howto New Relic
|
||||||
---
|
---
|
||||||
|
|
||||||
|
# Installer l'agent Servers "sysmond"
|
||||||
|
|
||||||
|
Doc officielle : <https://docs.newrelic.com/docs/servers/new-relic-servers-linux/installation-configuration/servers-installation-ubuntu-debian>
|
||||||
|
|
||||||
|
```
|
||||||
|
# echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' > /etc/apt/sources.list.d/newrelic.list
|
||||||
|
# wget -O - https://download.newrelic.com/548C16BF.gpg | apt-key add -
|
||||||
|
# apt update
|
||||||
|
# apt install newrelic-sysmond
|
||||||
|
# nrsysmond-config --set license_key=<votre clé de licence>
|
||||||
|
# systemctl start newrelic-sysmond
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
# Installer l'agent PHP
|
# Installer l'agent PHP
|
||||||
|
|
||||||
Doc officielle : <https://docs.newrelic.com/docs/agents/php-agent>
|
Doc officielle : <https://docs.newrelic.com/docs/agents/php-agent>
|
||||||
|
@ -13,7 +27,7 @@ Doc officielle : <https://docs.newrelic.com/docs/agents/php-agent>
|
||||||
# apt install newrelic-php5
|
# apt install newrelic-php5
|
||||||
# newrelic-install install
|
# newrelic-install install
|
||||||
# rm /etc/php5/conf.d/newrelic.ini
|
# rm /etc/php5/conf.d/newrelic.ini
|
||||||
# systemctl restart apache2
|
# systemctl restart <votre serveur web>
|
||||||
```
|
```
|
||||||
|
|
||||||
Debconf vous demandera la clé de license à mettre. On pourra aussi la mettre à la main dans `/etc/php5/mods-available/newrelic.ini`.
|
Debconf vous demandera la clé de license à mettre. On pourra aussi la mettre à la main dans `/etc/php5/mods-available/newrelic.ini`.
|
Loading…
Reference in a new issue