Page 1 of 1

Performance Graphs not working

Posted: Tue Sep 13, 2011 7:20 pm
by jrmartin
R1.7 prebuilt VM
Hello once again.
My graphs were working, but I changed the time on the server to point to PST in /etc/TIMEZONE and also in nagios.cfg
use_timezone=US/Pacific

Now graphs are no longer showing data. The error I receive is No performance graphs were found for this service.
However if I go to the next tab "advanced" I see:
Service State: Ok
Duration: 57m 23s
State Type: Hard
Current Check: 1 of 5
Last Check: 2011-09-13 17:15:29
Next Check: 2011-09-13 17:20:29
Last State Change: 2011-09-13 16:20:29
Last Notification: Never
Check Type: Active
Check Latency: 0.008 seconds
Execution Time: 0.20717 seconds
State Change: 0%
Performance Data: TOTAL=16358472KB;;;; USED=2508864KB;;;; FREE=13849608KB;;;; CACHES=0KB;;;;

which tells me its collecting the data. I have process_performance_data=1 set in nagios.cfg.

Not sure what I did that turned it off other than the time change which was on the 10th of this month.

Any ideas? suggestions? TIA.
Jeff

Re: Performance Graphs not working

Posted: Wed Sep 14, 2011 12:26 pm
by nscott
Is NPCD running?

service npcd status

What are the datestamps on your /usr/local/nagios/share/perfdata directory?

Re: Performance Graphs not working

Posted: Wed Sep 14, 2011 1:45 pm
by jrmartin
[root@nadc-nag-p01 libexec]# ls -ld /usr/local/nagios/share/perfdata
drwxr-xr-x. 3 nagios nagios 4096 Sep 13 16:41 /usr/local/nagios/share/perfdata
[root@nadc-nag-p01 libexec]# service npcd status
NPCD running (pid 1514).

THanks.

Re: Performance Graphs not working

Posted: Wed Sep 14, 2011 1:50 pm
by jrmartin
weird, at about 5PM last night looks like graphs are working again..
Sorry for the false alarm.. not sure why but its working.

Re: Performance Graphs not working

Posted: Thu Sep 15, 2011 10:57 am
by nscott
No apology necessary, let us know if it comes up again and any possible patterns that come up.

Re: Performance Graphs not working

Posted: Sat Sep 24, 2011 2:40 am
by joelawonline
I had a similar issue awhile back. but the graphs are working fine now. weird...