Perfomance Grapher Component Status Wrong
Posted: Tue Apr 07, 2015 2:48 pm
Since this is same same only different thought I would start a new thread.
Noticed today that my performance data was not hitting graphs but the XI System Component Status for the Performance Grapher has got a green check and when you hover it it says NCPD running (pid 1529) . Normally I fix this by restarting the service but today I wondered why. I verified NCPD was definitely not running but when I ran /etc/init.d/npcd status it said it was. The init.d status only checked the process ID is running and not that it is actually running ncpd. See below.
[root@nagios subsys]# date
Tue Apr 7 15:37:57 EDT 2015
[root@nagios subsys]# ps -ef | grep npcd | grep -v grep
[root@nagios subsys]# ls -l npcd.pid
-rw-r--r-- 1 root root 4 Apr 6 18:35 npcd.pid
[root@nagios subsys]# /etc/init.d/npcd start
NPCD already started
[root@nagios subsys]# cat npcd.pid
1529
[root@nagios subsys]# ps -p 1529
PID TTY TIME CMD
1529 ? 00:00:00 httpd
Another side effect of not checking the process ID. When I did /etc/init.d/ncpd/restart it killed off the root httpd killing of the web interface all users!
Noticed today that my performance data was not hitting graphs but the XI System Component Status for the Performance Grapher has got a green check and when you hover it it says NCPD running (pid 1529) . Normally I fix this by restarting the service but today I wondered why. I verified NCPD was definitely not running but when I ran /etc/init.d/npcd status it said it was. The init.d status only checked the process ID is running and not that it is actually running ncpd. See below.
[root@nagios subsys]# date
Tue Apr 7 15:37:57 EDT 2015
[root@nagios subsys]# ps -ef | grep npcd | grep -v grep
[root@nagios subsys]# ls -l npcd.pid
-rw-r--r-- 1 root root 4 Apr 6 18:35 npcd.pid
[root@nagios subsys]# /etc/init.d/npcd start
NPCD already started
[root@nagios subsys]# cat npcd.pid
1529
[root@nagios subsys]# ps -p 1529
PID TTY TIME CMD
1529 ? 00:00:00 httpd
Another side effect of not checking the process ID. When I did /etc/init.d/ncpd/restart it killed off the root httpd killing of the web interface all users!