So today I had a newrelic customer who was having issues after installing the newrelic php plugin. He couldn’t understand why it wasn’t collecting data. For it to collecting data you need to make sure newrelic-daemon process is running by using ps auxfwww | grep newrelic-daemon.
We check the process of the daemon is running
[[email protected] ~]# ps -ef | grep newrelic-daemon root 26007 18914 0 09:59 pts/0 00:00:00 grep newrelic-daemon
We check the status of the daemon process
[[email protected] ~]# service newrelic-daemon status newrelic-daemon is stopped...
Copy basic NewRelic configuration template to correct location
[[email protected] ~]# cp /etc/newrelic/newrelic.cfg.template /etc/newrelic/newrelic.cfg
Start the daemon
[[email protected] ~]# service newrelic-daemon start Starting newrelic-daemon: [ OK ]