Page 1 of 2

(some) empty graphs

Posted: Tue May 31, 2011 2:30 pm
by QS1
Another empty graphs question here ... I have read through the many pages of graph questions already but I do not see any fixes for me.

When I view all graphs for a host, they only contain data for a brief period of time (with the exception of one counter).
NagiosPerf.JPG
Looking at the advanced tab for a particular service (page file use), it seems that it should have the perf data:
PerfCapt2.JPG

At the file level, there is only one service that is being updated:
PerfCapt3.JPG


So far I have:
-verified I am on the latest version
-reset security credentials and updated
-verified file level permissions at: /usr/local/nagios/share/perfdata/


So it looks like this was working at one time, but something happened around March and now it does not (except that one host performance counter).

* Imporant sidenote: I have just taken over managing this server so I really don't know what has been done up until now *

Any tips are greatly appreciated!

Re: (some) empty graphs

Posted: Tue May 31, 2011 2:43 pm
by tonyyarusso
It's possible the previous admin just disabled performance data processing for the other services. You could look in the Core Config Manager, under one of the non-working services, under "Check Settings", in the field "Process Perf Data".

Re: (some) empty graphs

Posted: Tue May 31, 2011 2:47 pm
by mguthrie
It looks like the performance data being returned is in a bad format, so the performance grapher is probably reading it as "nan" (not a number).

If the performance data is in a bad format, it will get dropped and it won't be passed to the rrd file. I'm not sure why it would change at the same time for more than one check. Can you give us a little more information on the host that is being monitored? Also, if you know how to run the check directly from the command-line can you show us the output from that? (if not, let us know and we'll show you how).

Re: (some) empty graphs

Posted: Tue May 31, 2011 2:53 pm
by tonyyarusso
Ah, true. Specifically, a raw single quote is being converted to ' by something (its HTML entity representation).

Re: (some) empty graphs

Posted: Tue May 31, 2011 2:55 pm
by QS1
Here is one of the services:
PerfCapt4.JPG

also, this is one the majority (if not all) hosts ... so it seems like something change globally ...

Re: (some) empty graphs

Posted: Tue May 31, 2011 3:08 pm
by QS1
"Also, if you know how to run the check directly from the command-line can you show us the output from that? (if not, let us know and we'll show you how)."

Yes, Please tell me how I can do this ...

Thanks!

Re: (some) empty graphs

Posted: Tue May 31, 2011 3:19 pm
by tonyyarusso
Here's my previous attempt at explaining it: http://support.nagios.com/forum/viewtop ... 5578#p5578

Re: (some) empty graphs

Posted: Tue May 31, 2011 3:51 pm
by QS1
seems ok ...
Perf4.JPG

Re: (some) empty graphs

Posted: Tue May 31, 2011 3:55 pm
by mguthrie
What version of XI are you using. We updated the script that processes performance data in our latest release (2011R1.3), it's possible that might just take care of the issue.

Re: (some) empty graphs

Posted: Thu Jun 02, 2011 6:59 am
by QS1
Looks to be up to date ...
version.JPG