Page 1 of 1

Missing graph data on new check

Posted: Wed Feb 24, 2016 5:45 pm
by dworthcsl
Hi,

I am running XI 5.2.0 on RHEL 6.7. I just put in a new linux CPU check and it is not graphing all of the data. However, there are separate gauges for each of the stats. I am also seeing the perf data. One think to note, is that when I initially set this up, I accidentally set the wrong check command and I am wondering if that messed up the graph.

Here is an output of the perf data from cli:

Code: Select all

 ./check_cpu_util.pl 
OK|CPU_USED=6.44%;85;95;; USER=3.32%;85;95;; SYSTEM=2.92%;85;95;; IOWAIT=0.00%;85;95;; 


Here is the output from XI:

Code: Select all

Performance Data:	CPU_USED=6.32%;85;95;; USER=3.11%;85;95;; SYSTEM=2.91%;85;95;; IOWAIT=0.05%;85;95;;
I am wondering if there is invalid graph data that is causing an issue.

Thanks,
David

Re: Missing graph data on new check

Posted: Thu Feb 25, 2016 9:31 am
by tgriep
Changing the check command is the reason the graphs are not working. When the data changes, the old graphs need to be deleted so they will be recreated with the new data.
To do that, you would have to go to this folder below, then to the folder with the hostname and delete the .xml and .rrd files associated with that check. After about 20 minutes, the new graphs will repopulate with the new data.

Code: Select all

/usr/local/nagios/share/perfdata/

Re: Missing graph data on new check

Posted: Thu Feb 25, 2016 5:01 pm
by dworthcsl
Thanks, that's what I was looking for. All is working now.

Cheers,
David