Anonymous user
Remove NewRelic agent: Difference between revisions
Jump to navigation
Jump to search
Amending font properties.
(Font change) |
(Amending font properties.) |
||
| Line 1: | Line 1: | ||
====* For the main service:==== | ====* For the main service:==== | ||
/etc/init.d/newrelic-sysmond stop | '''/etc/init.d/newrelic-sysmond stop''' | ||
apt-get --purge remove newrelic-sysmond | '''apt-get --purge remove newrelic-sysmond''' | ||
====* For the PHP agent:==== | ====* For the PHP agent:==== | ||
newrelic-install purge | '''newrelic-install purge''' | ||
apt-get --purge remove newrelic-php5-common | '''apt-get --purge remove newrelic-php5-common''' | ||
dpkg -l | grep newrelic | '''dpkg -l | grep newrelic''' | ||
(nothing should show when you run the above, if anything, proceed to manually removing the remaining services) | (nothing should show when you run the above, if anything, proceed to manually removing the remaining services) | ||
service nginx restart | '''service nginx restart''' | ||
service php7.0-fpm restart | '''service php7.0-fpm restart''' | ||
====* For MySQL agent:==== | ====* For MySQL agent:==== | ||
cd /root/newrelic-npi | '''cd /root/newrelic-npi''' | ||
./npi stop com.newrelic.plugins.mysql.instance | '''./npi stop com.newrelic.plugins.mysql.instance''' | ||
./npi remove-service com.newrelic.plugins.mysql.instance | '''./npi remove-service com.newrelic.plugins.mysql.instance''' | ||
./npi remove com.newrelic.plugins.mysql.instance | '''./npi remove com.newrelic.plugins.mysql.instance''' | ||