diff --git a/HowtoNewRelic.md b/HowtoNewRelic.md index d54c4689..6e3c936e 100644 --- a/HowtoNewRelic.md +++ b/HowtoNewRelic.md @@ -2,6 +2,20 @@ title: Howto New Relic --- +# Installer l'agent Servers "sysmond" + +Doc officielle : + +``` +# 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= +# systemctl start newrelic-sysmond +``` + + # Installer l'agent PHP Doc officielle : @@ -13,7 +27,7 @@ Doc officielle : # apt install newrelic-php5 # newrelic-install install # rm /etc/php5/conf.d/newrelic.ini -# systemctl restart apache2 +# systemctl restart ``` Debconf vous demandera la clé de license à mettre. On pourra aussi la mettre à la main dans `/etc/php5/mods-available/newrelic.ini`. \ No newline at end of file