performance graphs quit working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

performance graphs quit working

Post by btemple »

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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: performance graphs quit working

Post by tmcdonald »

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
w
Former Nagios employee
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: performance graphs quit working

Post by btemple »

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 ~]#
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: performance graphs quit working

Post by btemple »

not sure why but graphs are currently being updated. I think we has a switch that was pelting the server with snmp traps.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: performance graphs quit working

Post by lmiltchev »

[root@sxnagios01 ~]# ls -l /usr/local/nagios/var/spool/perfdata | wc -l
1028
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.

Can I mark the topic as "resolved"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: performance graphs quit working

Post by btemple »

yes we can mark as resolve the graphs have been updating all night and the que is @ 1
Locked