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

2003-03-03 Thread Serge Maandag
Now that is weird! Both updates may have affected the rrd in a different way because the N: may have updated another sample in your RRA. Duplicate the rrd to have 1.rrd and 2.rrd and simultaneously do an update - on 1.rrd using Time=`perl -e "print time"`;rrdtool update 1.rrd $Time:544

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

2003-03-03 Thread Alex Ponnath
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 ("bindns2la

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

2003-03-03 Thread Serge Maandag
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:

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

2003-03-03 Thread Alex Ponnath
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:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 1:18 AM To: Alex Ponnath; rrd-users@list.ee.

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

2003-03-03 Thread Serge Maandag
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