Performance Graph broken

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Performance Graph broken

Post by vmesquita »

Performance Graph is Nagios became broken. All graphs look like attached image. I have tried the procedures described on the wiki, and also cleaned /usr/local/nagios/var/spool. Any idea on how I could fix this?
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Performance Graph broken

Post by slansing »

What is the output of the following:

Code: Select all

service npcd status

ls /usr/local/nagios/var/spool/xidpe | wc -l

ls /usr/local/nagios/var/spool/perfdata | wc -l

ls /usr/local/nagios/var/spool/checkresults | wc -l
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Performance Graph broken

Post by vmesquita »

Code: Select all

[root@nagios ~]# service npcd status
NPCD running (pid 3250).
[root@nagios ~]#
[root@nagios ~]# ls /usr/local/nagios/var/spool/xidpe | wc -l
0
[root@nagios ~]#
[root@nagios ~]# ls /usr/local/nagios/var/spool/perfdata | wc -l
2
[root@nagios ~]#
[root@nagios ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
60
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Performance Graph broken

Post by abrist »

Run the following command again:

Code: Select all

ls /usr/local/nagios/var/spool/checkresults | wc -l
Also, lets check the perfdata/npcd logs:

Code: Select all

tail -25 /usr/local/nagios/var/perfdata.log
tail -25 /usr/local/nagios/var/npcd.log
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Performance Graph broken

Post by vmesquita »

Code: Select all

[root@nagios ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
52

Code: Select all

2013-11-07 18:22:04 [23748] [1] Found Performance Data for ############ / __Disk_Usage (/=17024MB;101453;114135;0;126817)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] Found Performance Data for ##### / bond2.2162_Bandwidth (in=.000009Mb/s;200;500 out=.000005Mb/s;200;500)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] Found Performance Data for ####### / bond1_Bandwidth (in=2.798394Mb/s;200;500 out=.839381Mb/s;200;500)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] Found Performance Data for ######### / Ping (rta=0.847ms;3000.000;5000.000;0; pl=0%;80;100;;)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] Found Performance Data for ######## / Ping (rta=0.759ms;3000.000;5000.000;0; pl=0%;80;100;;)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] Found Performance Data for ######### / Load (load1=0.020;15.000;30.000;0; load5=0.020;10.000;20.000;0; load15=0.000;5.000;10.000;0;)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] Found Performance Data for ######## / Load (load1=0.000;15.000;30.000;0; load5=0.000;10.000;20.000;0; load15=0.000;5.000;10.000;0;)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] Found Performance Data for ########### / Ping (rta=36.121ms;3000.000;5000.000;0; pl=0%;80;100;;)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] Found Performance Data for ############ / Ping (rta=36.729ms;3000.000;5000.000;0; pl=0%;80;100;;)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] Found Performance Data for ########## / Swap_Usage (swap=1018MB;0;0;0;1023)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] Found Performance Data for ########## / Swap_Usage (swap=1012MB;0;0;0;1023)
2013-11-07 18:22:04 [23748] [1] rrdtool update returns 0
2013-11-07 18:22:04 [23748] [1] 110 lines processed
2013-11-07 18:22:04 [23748] [1] /usr/local/nagios/var/spool/perfdata//1383855704.perfdata.service-PID-23748 deleted
2013-11-07 18:22:04 [23748] [1] PNP exiting (runtime 0.568008s) ...
(hostnames have been replaced with ##########)

Code: Select all

[11-07-2013 18:22:03] NPCD: Processing file '1383855704.perfdata.service'
[11-07-2013 18:22:03] NPCD: Processing file '1383855719.perfdata.host'
[11-07-2013 18:22:03] NPCD: Processing file '1383855719.perfdata.service'
[11-07-2013 18:22:04] NPCD: No more files to process... waiting for 15 seconds
[11-07-2013 18:22:19] NPCD: No more files to process... waiting for 15 seconds
[11-07-2013 18:22:34] NPCD: Processing file '1383855734.perfdata.host'
[11-07-2013 18:22:34] NPCD: Processing file '1383855734.perfdata.service'
[11-07-2013 18:22:34] NPCD: Processing file '1383855749.perfdata.host'
[11-07-2013 18:22:34] NPCD: Processing file '1383855749.perfdata.service'
[11-07-2013 18:22:34] NPCD: No more files to process... waiting for 15 seconds
[11-07-2013 18:22:49] NPCD: No more files to process... waiting for 15 seconds
[11-07-2013 18:23:04] NPCD: Processing file '1383855764.perfdata.host'
[11-07-2013 18:23:04] NPCD: Processing file '1383855764.perfdata.service'
[11-07-2013 18:23:04] NPCD: Processing file '1383855779.perfdata.host'
[11-07-2013 18:23:04] NPCD: Processing file '1383855779.perfdata.service'
[11-07-2013 18:23:05] NPCD: No more files to process... waiting for 15 seconds
[11-07-2013 18:23:20] NPCD: No more files to process... waiting for 15 seconds
[11-07-2013 18:23:35] NPCD: Processing file '1383855794.perfdata.host'
[11-07-2013 18:23:35] NPCD: Processing file '1383855794.perfdata.service'
[11-07-2013 18:23:35] NPCD: No more files to process... waiting for 15 seconds
[11-07-2013 18:23:50] NPCD: No more files to process... waiting for 15 seconds
[11-07-2013 18:24:05] NPCD: Processing file '1383855831.perfdata.host'
[11-07-2013 18:24:05] NPCD: Processing file '1383855831.perfdata.service'
[11-07-2013 18:24:05] NPCD: No more files to process... waiting for 15 seconds
[11-07-2013 18:24:20] NPCD: No more files to process... waiting for 15 seconds
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Performance Graph broken

Post by vmesquita »

It seems to be working again, there's a gap in the graphics but it should be related to the files in /spool that I deleted. Thanks!
Locked