[rrd-users] Re: Starting problems

Jeroen Timmer TimmerJ at vertis.nl
Tue Feb 5 14:14:47 MET 2002


Hey Alex,

Well ... I am a bit further.
I think I had something wrong with the heartbeat and stuff ..

I wrote a script that will update every 280 seconds. Seems to work.
But when I make crontab to run the script every 4 minutes ... The prob
starts. No data in the .rrd file.
When I run the script by hand, with a sleep of 280 seconds .. It works. 
Beats me whats wrong when I run in in the crontab .. All dir's are oke ..
Script is running from everywhere on the box :)

JT


-----Original Message-----
From: Alex van den Bogaerdt [mailto:alex at slot.hollandcasino.nl] 
Sent: Tuesday, February 05, 2002 12:26 PM
To: TimmerJ at vertis.nl
Cc: rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] Starting problems


Jeroen Timmer wrote:

> I read the tutorial that Alex wrote (nicely done btw.) But now I seem 
> to be stuck :)

bedankt!

> Rrdtool update router.rrd -t input:output N:$in:$out
> 
> When I print the two strings I get the output I want, but when I check 
> the rrd file I get the famous NaN :/

RRDtool works with intervals.  This said it is obvious that you need at
least two updates.  Also, these updates should not be further apart than the
heartbeat value and they should include one complete normalized interval.

> Whats that piece with unknown_sec btw. ??

Look into normalization, interpolation et cetera.  For now, just accept that
RRDtool needs this value to do its job.

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+



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