I have done all the easy stuff like reboot , restart services etc. The issue started with a reboot yesterday morning. Since then no performance data is being shown for any of my hosts. I first discoved the issue when I added two hosts and the graph icon never appeared. If I expand the view to over 24 hours your see data.
Also this log is missing on the server with the issue /usr/local/nagios/var/perfdata.log
performance graphs quit working
Re: performance graphs quit working
Please run the following and post the output:
Code: Select all
ls -l /usr/local/nagios/var/spool/xidpe | wc -l
ls -l /usr/local/nagios/var/spool/perfdata | wc -l
service npcd status
wFormer Nagios employee
Re: performance graphs quit working
Last login: Tue May 13 12:52:20 2014 from srql13101175.zic.pri
[root@sxnagios01 ~]# ls -l /usr/local/nagios/var/spool/xidpe | wc -l
1
[root@sxnagios01 ~]# ls -l /usr/local/nagios/var/spool/perfdata | wc -l
1028
[root@sxnagios01 ~]# service npcd status
NPCD running (pid 1858).
[root@sxnagios01 ~]# w
13:33:28 up 2:32, 2 users, load average: 0.17, 0.18, 0.18
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 srql13101175.zic 12:52 26:16 0.04s 0.04s -bash
root pts/1 srql13101175.zic 13:32 0.00s 0.01s 0.00s w
[root@sxnagios01 ~]#
[root@sxnagios01 ~]# ls -l /usr/local/nagios/var/spool/xidpe | wc -l
1
[root@sxnagios01 ~]# ls -l /usr/local/nagios/var/spool/perfdata | wc -l
1028
[root@sxnagios01 ~]# service npcd status
NPCD running (pid 1858).
[root@sxnagios01 ~]# w
13:33:28 up 2:32, 2 users, load average: 0.17, 0.18, 0.18
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 srql13101175.zic 12:52 26:16 0.04s 0.04s -bash
root pts/1 srql13101175.zic 13:32 0.00s 0.01s 0.00s w
[root@sxnagios01 ~]#
Re: performance graphs quit working
not sure why but graphs are currently being updated. I think we has a switch that was pelting the server with snmp traps.
Re: performance graphs quit working
A large number of files in the "perfdata" directory indicates that npcd is/was not running. It seems it is running now and your load is low. Are these files being processed? Is the number (1028) going down over time? If the npcd was stopped, it would take a while before it catches on.[root@sxnagios01 ~]# ls -l /usr/local/nagios/var/spool/perfdata | wc -l
1028
Can I mark the topic as "resolved"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: performance graphs quit working
yes we can mark as resolve the graphs have been updating all night and the que is @ 1