graphing Issues after Cpu monitoring change

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

graphing Issues after Cpu monitoring change

Post by rdhall01 »

I created my cpu checks like the following example, and they were working and graphing correctly
-l 5,85,95

I made a change yesterday, as follows and the checks work, but graphing broke!
-l 5,85,95,30,80,90,60,75,85

No data displayed after the change! any ideas how to resolve it without having to change the checks back!
I changed this for about 150 servers! I have run into this issue in the past and resolved it by deleting the old .rrd file but Im not sure how to proceede here.

Running
RHEL 64 bit
Nagios XI 2012R1.0
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: graphing Issues after Cpu monitoring change

Post by slansing »

Can you please send us the whole command being ran? If you have not already deleted the .rrd files for these checks this must be done since you are changing the values to be monitored.
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: graphing Issues after Cpu monitoring change

Post by rdhall01 »

This is what I have on most servers
$USER1$/check_nt -H $HOSTADDRESS$ -p XXXX -v CPULOAD -l 5,85,95,30,80,90,60,80,90
results
CPU Load 4% (5 min average) 3% (30 min average) 3% (60 min average)

and this is run on a sub set of about 10 or os
$USER1$/check_nt -H $HOSTADDRESS$ -p XXXX -v CPULOAD -l 5,85,95,30,80,90
reults
CPU Load 1% (5 min average) 1% (30 min average)
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: graphing Issues after Cpu monitoring change

Post by rdhall01 »

I should have gone with my gut instinct removing the old .rrd and enough time all 3 grpahs start working from what I am seeing now!

I used the following commands to list and then remove the old .rrd files
find . -name \CPU_Usage.rrd -exec ls -l {} \; verified the correct files were listed

find . -name \CPU_Usage.rrd -exec rm -rf { } \; removed the files
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: graphing Issues after Cpu monitoring change

Post by slansing »

Glad to hear you got them functioning again, thanks for the solution contribution as well!