nagiosgraph plot no data, only "nan"

Anna Liu annaliu at us.ibm.com
Wed May 28 21:46:41 CEST 2008


I have nagiosgraph set up on nagios.   The plotting is working on services 
for local system, but not  on the remote systems' services.

Here is the nagiosgraph debug log for a service "biwofe_CPU".   All values 
are "nan" since yesterday.   I did many tries, at one time it showed only 
one data set plot.  no continuous data were generated and plotted.   I 
removed all files in rrd directory and restarted the nagios service. From 
the log I couldn't tell where could be the problem.   Spent one whole day 
and still couldn't move forward.    Appreciate if someone can help!

=======
Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - 
processing perfdata: 1212002032||biwofe||biwofe_CPU||OK CPU Load 
ok.||'5'=2;80;90; '10'=2;80;90; '15'=4;80;90;

Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - 
Input lastcheck:1212002032
Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - 
Input hostname:biwofe
Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - 
Input perfdata:'5'=2;80;90; '10'=2;80;90; '15'=4;80;90;

Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - 
Input servicedescr:biwofe_CPU
Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - 
Input output:OK CPU Load ok.
Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - 
Checking 
/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd
Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - 
RRDs::update 
/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd 
1212002032:2:2:4
Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - 
nagiosgraph exited
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
dbfilelist checkCPU,5,10,15
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
@db=checkCPU,5,10,15
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - 
Specified biwofe/biwofe_CPU___ db files in 
/usr/local/nagios/nagiosgraph/rrd: biwofe/biwofe_CPU___checkCPU.rrd
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
DS biwofe/biwofe_CPU___checkCPU.rrd lines: 10, 15, 5
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=10 color=CC0099
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=15 color=FF3300
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=5 color=33FF99
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - 
RRDs::graph - -a PNG --start -118800 
DEF:10=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:10:AVERAGE 
LINE2:10#CC0099:10 GPRINT:10:MAX:Max\: %6.2lf%s GPRINT:10:AVERAGE:Avg\: 
%6.2lf%s GPRINT:10:MIN:Min\: %6.2lf%s GPRINT:10:LAST:Cur\: %6.2lf%s\n 
DEF:15=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:15:AVERAGE 
LINE2:15#FF3300:15 GPRINT:15:MAX:Max\: %6.2lf%s GPRINT:15:AVERAGE:Avg\: 
%6.2lf%s GPRINT:15:MIN:Min\: %6.2lf%s GPRINT:15:LAST:Cur\: %6.2lf%s\n 
DEF:5=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:5:AVERAGE 
LINE2:5#33FF99:5  GPRINT:5:MAX:Max\: %6.2lf%s GPRINT:5:AVERAGE:Avg\: 
%6.2lf%s GPRINT:5:MIN:Min\: %6.2lf%s GPRINT:5:LAST:Cur\: %6.2lf%s\n -t 
Check-CPU-Rate -snow-118800-0 -enow-0
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
@db=checkCPU,5,10,15
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - 
Specified biwofe/biwofe_CPU___ db files in 
/usr/local/nagios/nagiosgraph/rrd: biwofe/biwofe_CPU___checkCPU.rrd
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
DS biwofe/biwofe_CPU___checkCPU.rrd lines: 10, 15, 5
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=10 color=CC0099
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=15 color=FF3300
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=5 color=33FF99
Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - 
RRDs::graph - -a PNG --start -777600 
DEF:10=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:10:AVERAGE 
LINE2:10#CC0099:10 GPRINT:10:MAX:Max\: %6.2lf%s GPRINT:10:AVERAGE:Avg\: 
%6.2lf%s GPRINT:10:MIN:Min\: %6.2lf%s GPRINT:10:LAST:Cur\: %6.2lf%s\n 
DEF:15=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:15:AVERAGE 
LINE2:15#FF3300:15 GPRINT:15:MAX:Max\: %6.2lf%s GPRINT:15:AVERAGE:Avg\: 
%6.2lf%s GPRINT:15:MIN:Min\: %6.2lf%s GPRINT:15:LAST:Cur\: %6.2lf%s\n 
DEF:5=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:5:AVERAGE 
LINE2:5#33FF99:5  GPRINT:5:MAX:Max\: %6.2lf%s GPRINT:5:AVERAGE:Avg\: 
%6.2lf%s GPRINT:5:MIN:Min\: %6.2lf%s GPRINT:5:LAST:Cur\: %6.2lf%s\n -t 
Check-CPU-Rate -snow-777600-0 -enow-0
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
@db=checkCPU,5,10,15
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - 
Specified biwofe/biwofe_CPU___ db files in 
/usr/local/nagios/nagiosgraph/rrd: biwofe/biwofe_CPU___checkCPU.rrd
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
DS biwofe/biwofe_CPU___checkCPU.rrd lines: 10, 15, 5
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=10 color=CC0099
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=15 color=FF3300
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=5 color=33FF99
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - 
RRDs::graph - -a PNG --start -3024000 
DEF:10=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:10:AVERAGE 
LINE2:10#CC0099:10 GPRINT:10:MAX:Max\: %6.2lf%s GPRINT:10:AVERAGE:Avg\: 
%6.2lf%s GPRINT:10:MIN:Min\: %6.2lf%s GPRINT:10:LAST:Cur\: %6.2lf%s\n 
DEF:15=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:15:AVERAGE 
LINE2:15#FF3300:15 GPRINT:15:MAX:Max\: %6.2lf%s GPRINT:15:AVERAGE:Avg\: 
%6.2lf%s GPRINT:15:MIN:Min\: %6.2lf%s GPRINT:15:LAST:Cur\: %6.2lf%s\n 
DEF:5=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:5:AVERAGE 
LINE2:5#33FF99:5  GPRINT:5:MAX:Max\: %6.2lf%s GPRINT:5:AVERAGE:Avg\: 
%6.2lf%s GPRINT:5:MIN:Min\: %6.2lf%s GPRINT:5:LAST:Cur\: %6.2lf%s\n -t 
Check-CPU-Rate -snow-3024000-0 -enow-0
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
@db=checkCPU,5,10,15
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - 
Specified biwofe/biwofe_CPU___ db files in 
/usr/local/nagios/nagiosgraph/rrd: biwofe/biwofe_CPU___checkCPU.rrd
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
DS biwofe/biwofe_CPU___checkCPU.rrd lines: 10, 15, 5
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=10 color=CC0099
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=15 color=FF3300
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - 
file=biwofe/biwofe_CPU___checkCPU.rrd line=5 color=33FF99
Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - 
RRDs::graph - -a PNG --start -34560000 
DEF:10=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:10:AVERAGE 
LINE2:10#CC0099:10 GPRINT:10:MAX:Max\: %6.2lf%s GPRINT:10:AVERAGE:Avg\: 
%6.2lf%s GPRINT:10:MIN:Min\: %6.2lf%s GPRINT:10:LAST:Cur\: %6.2lf%s\n 
DEF:15=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:15:AVERAGE 
LINE2:15#FF3300:15 GPRINT:15:MAX:Max\: %6.2lf%s GPRINT:15:AVERAGE:Avg\: 
%6.2lf%s GPRINT:15:MIN:Min\: %6.2lf%s GPRINT:15:LAST:Cur\: %6.2lf%s\n 
DEF:5=/usr/local/nagios/nagiosgraph/rrd/biwofe/biwofe_CPU___checkCPU.rrd:5:AVERAGE 
LINE2:5#33FF99:5  GPRINT:5:MAX:Max\: %6.2lf%s GPRINT:5:AVERAGE:Avg\: 
%6.2lf%s GPRINT:5:MIN:Min\: %6.2lf%s GPRINT:5:LAST:Cur\: %6.2lf%s\n -t 
Check-CPU-Rate -snow-34560000-0 -enow-0
Wed May 28 12:14:38 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - 
nagiosgraph spawned
=========

May map file: 

==========
# OK CPU Load ok.|'5'=2;80;90; '10'=2;80;90; '15'=2;80;90;
/output:.*/ and do {
/perfdata:.*?=(\d+).*?=(\d+);.*?=(\d+);.*/
and push @s, [ checkCPU,
                [ 5, GAUGE, $1 ],
                [ 10, GAUGE, $2 ],
                [ 15, GAUGE, $3 ] ];
};
==========




Regards,

Anna Liu - annaliu at us.ibm.com

(408)927-2846  Tie:  457-2846
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080528/77818885/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list