Page 1 of 1

Graphing Issues after Cpu monitoring change

Posted: Wed Nov 14, 2012 2:45 pm
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

Re: Graphing Issues after Cpu monitoring change

Posted: Wed Nov 14, 2012 3:42 pm
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.

Re: Graphing Issues after Cpu monitoring change

Posted: Wed Nov 14, 2012 3:58 pm
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)

Re: Graphing Issues after Cpu monitoring change

Posted: Wed Nov 14, 2012 4:08 pm
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

Re: Graphing Issues after Cpu monitoring change

Posted: Wed Nov 14, 2012 5:17 pm
by slansing
Glad to hear you got them functioning again, thanks for the solution contribution as well!