[rrd-users] Re: Problems with RRD and graphing BIND...........

Alex Ponnath alexp at iccinternet.com
Mon Mar 3 18:18:53 MET 2003


Below see the value it is using...  For some reason it seems the N is
the problem.

N:103:12:0:34:257:307

If I specify a time value and then call it it works fine

RRDs::update
("bindns2laxus.rrd","1046671700:4345:54545:6565:54545:45454:78787");

Versus this one fails...

RRDs::update ("bindns2laxus.rrd","N:5444:5656:54545:777878:0:45454");

-----Original Message-----
From: Serge Maandag [mailto:serge.maandag at staff.zeelandnet.nl] 
Sent: Monday, March 03, 2003 8:53 AM
To: Alex Ponnath; rrd-users at list.ee.ethz.ch
Subject: RE: [rrd-users] Problems with RRD and graphing BIND...........


No that's right, but if one value is "" instead of a number, the whole
update fails.

So you may need to do a check on all your variables.
Something like:

# if $ok has no value, give it the value "nan" to stop rrdtool update
from tripping. $ok |= "nan; 

Serge.

-----Original Message-----
From: Alex Ponnath [mailto:alexp at iccinternet.com]
Sent: Monday, March 03, 2003 5:45 PM
To: Serge Maandag; rrd-users at list.ee.ethz.ch
Subject: RE: [rrd-users] Problems with RRD and graphing BIND...........


Yes, it seem to put something out like "N:12:13::20:5:" I thought N was
a function of 
RRD which holds the current time. Did I miss something ?

Alex

-----Original Message-----
From: Serge Maandag [mailto:serge.maandag at staff.zeelandnet.nl] 
Sent: Monday, March 03, 2003 1:18 AM
To: Alex Ponnath; rrd-users at list.ee.ethz.ch
Subject: RE: [rrd-users] Problems with RRD and graphing BIND...........


I don't see what's wrong at first glance, are you sure your script is
outputting valid data? Not something like: N:12:13::20:5: ?

What I do see though:

"RRA:AVERAGE:0.5:6:17520",
"RRA:AVERAGE:0.5:24:4380",

6 * 17520  is the same timespan as 24 * 4380, so the second one
effectively does nothing and will not be used.

Serge.

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list