Missing graph data on new check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Missing graph data on new check

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Missing graph data on new check

Post 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/
Be sure to check out our Knowledgebase for helpful articles and solutions!
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Re: Missing graph data on new check

Post by dworthcsl »

Thanks, that's what I was looking for. All is working now.

Cheers,
David
Locked