[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nagios-users
Subject:    [Nagios-users] nagiosgraph plot no data, only "nan"
From:       Anna Liu <annaliu () us ! ibm ! com>
Date:       2008-05-28 19:46:41
Message-ID: OF5B11DE68.4A54996C-ON88257457.00698F54-88257457.006C91EC () us ! ibm ! com
[Download RAW message or body]

This is a multipart message in MIME format.

This is a multipart message in MIME format.
--=_alternative 006BFD3E88257457_=
Content-Type: text/plain; charset="US-ASCII"

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@us.ibm.com

(408)927-2846  Tie:  457-2846

--=_alternative 006BFD3E88257457_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I have nagiosgraph set up on nagios.
&nbsp; The plotting is working on services for local system, but not &nbsp;on
the remote systems' services.</font>
<br>
<br><font size=2 face="sans-serif">Here is the nagiosgraph debug log for
a service &quot;biwofe_CPU&quot;. &nbsp; All values are &quot;nan&quot;
since yesterday. &nbsp; I did many tries, at one time it showed only one
data set plot. &nbsp;no continuous data were generated and plotted. &nbsp;
I removed all files in rrd directory and restarted the nagios service.
&nbsp; From the log I couldn't tell where could be the problem. &nbsp;
Spent one whole day and still couldn't move forward. &nbsp; &nbsp;Appreciate
if someone can help!</font>
<br>
<br><font size=2 face="sans-serif">=======</font>
<br><font size=2 face="sans-serif">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;</font>
<br>
<br><font size=2 face="sans-serif">Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v
$ $Revision: 1.25 $ info - Input lastcheck:1212002032</font>
<br><font size=2 face="sans-serif">Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v
$ $Revision: 1.25 $ info - Input hostname:biwofe</font>
<br><font size=2 face="sans-serif">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;</font> <br>
<br><font size=2 face="sans-serif">Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v
$ $Revision: 1.25 $ info - Input servicedescr:biwofe_CPU</font>
<br><font size=2 face="sans-serif">Wed May 28 12:14:08 2008 $RCSfile: insert.pl,v
$ $Revision: 1.25 $ info - Input output:OK CPU Load ok.</font>
<br><font size=2 face="sans-serif">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</font> <br><font \
size=2 face="sans-serif">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</font> <br><font size=2 face="sans-serif">Wed May 28 12:14:08 2008 \
$RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - nagiosgraph exited</font>
<br><font size=2 face="sans-serif">Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v
$ $Revision: 1.49 $ debug - dbfilelist checkCPU,5,10,15</font>
<br><font size=2 face="sans-serif">Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v
$ $Revision: 1.49 $ debug - @db=checkCPU,5,10,15</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v
$ $Revision: 1.49 $ debug - file=biwofe/biwofe_CPU___checkCPU.rrd</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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 &nbsp;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</font> <br><font size=2 face="sans-serif">Wed May 28 12:14:24 \
2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - @db=checkCPU,5,10,15</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">Wed May 28 12:14:24 2008 $RCSfile: show.cgi,v
$ $Revision: 1.49 $ debug - file=biwofe/biwofe_CPU___checkCPU.rrd</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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 &nbsp;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</font> <br><font size=2 face="sans-serif">Wed May 28 12:14:25 \
2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - @db=checkCPU,5,10,15</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v
$ $Revision: 1.49 $ debug - file=biwofe/biwofe_CPU___checkCPU.rrd</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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 &nbsp;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</font> <br><font size=2 face="sans-serif">Wed May 28 12:14:25 \
2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - @db=checkCPU,5,10,15</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">Wed May 28 12:14:25 2008 $RCSfile: show.cgi,v
$ $Revision: 1.49 $ debug - file=biwofe/biwofe_CPU___checkCPU.rrd</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">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 &nbsp;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</font> <br><font size=2 face="sans-serif">Wed May 28 \
12:14:38 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - nagiosgraph \
spawned</font> <br><font size=2 face="sans-serif">=========</font>
<br>
<br><font size=2 face="sans-serif">May map file: </font>
<br>
<br><font size=2 face="sans-serif">==========</font>
<br><font size=2 face="sans-serif"># OK CPU Load ok.|'5'=2;80;90; '10'=2;80;90;
'15'=2;80;90;</font>
<br><font size=2 face="sans-serif">/output:.*/ and do {</font>
<br><font size=2 face="sans-serif">/perfdata:.*?=(\d+).*?=(\d+);.*?=(\d+);.*/</font>
<br><font size=2 face="sans-serif">and push @s, [ checkCPU,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; [ 5, GAUGE, $1 ],</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; [ 10, GAUGE, $2 ],</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; [ 15, GAUGE, $3 ] ];</font>
<br><font size=2 face="sans-serif">};</font>
<br><font size=2 face="sans-serif">==========</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
Regards,<br>
<br>
Anna Liu - annaliu@us.ibm.com<br>
<br>
(408)927-2846 &nbsp;Tie: &nbsp;457-2846<br>
</font>
--=_alternative 006BFD3E88257457_=--



-------------------------------------------------------------------------
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/

_______________________________________________
Nagios-users mailing list
Nagios-users@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic