[rrd-users] Re: rrdtool not working at all

Serge Maandag serge.maandag at staff.zeelandnet.nl
Thu Dec 19 10:30:39 MET 2002


# Create the database
rrdtool create host1users.rrd --step 300 DS:host1users:GAUGE:600:0:50 \
RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:1:600 RRA:MAX:0.5:1:600
RRA:MAX:0.5:1:600

# what time is it?
perl -e "print time"
1040289824

# Pick some arbitrary times in the future and define a time for each
update, with a 300 sec. interval. That is what you chosen when creating
the RRD!
rrdtool update host1users.rrd 1040290000:18
rrdtool update host1users.rrd 1040290300:20
rrdtool update host1users.rrd 1040290600:22
rrdtool update host1users.rrd 1040290900:25

# rrdtool dump host1users.rrd
<snip>
<!-- 2002-12-19 10:25:00 CET / 1040289900 --> <row><v> 1.8000000000e+01
</v></row>
<!-- 2002-12-19 10:30:00 CET / 1040290200 --> <row><v> 1.9333333333e+01
</v></row>
<!-- 2002-12-19 10:35:00 CET / 1040290500 --> <row><v> 2.1333333333e+01
</v></row>
<!-- 2002-12-19 10:40:00 CET / 1040290800 --> <row><v> 2.4000000000e+01
</v></row>

And they're there.

Your DS has a heartbeat of 600 secs. If you update with an interval of
little over 10 minutes, your updates are considered not valid.

Serge Maandag.

-----Original Message-----
From: Dan Gahlinger [mailto:deg at interlynx.net] 
Sent: Wednesday, December 18, 2002 6:58 PM
To: Serge Maandag
Cc: rrd-users at list.ee.ethz.ch
Subject: rrdtool not working at all


Ok this is getting really frustrating, can someone tell me why this
doesn't 
work:

rrdtool create host1users.rrd --step 300 DS:host1users:GAUGE:600:0:50 
RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:1:600 RRA:MAX:0.5:1:600
RRA:MAX:0.5:1:600

then:

rrdtool update host1users.rrd N:18
rrdtool update host1users.rrd N:20
rrdtool update host1users.rrd N:22
rrdtool update host1users.rrd N:25

do the updates over a period of 10 minutes, yet rrdtool dump always
shows "NaN"

Why??

and yes, I've tried these as well:

rrdtool create host1users.rrd --step 300 DS:host1users:GAUGE:600:0:50 
RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:1:600 RRA:MAX:0.5:50:600 
RRA:MAX:0.5:50:600
rrdtool create host1users.rrd --step 300 DS:host1users:GAUGE:600:0:50 
RRA:AVERAGE:0.5:50:600 RRA:AVERAGE:0.5:50:600 RRA:MAX:0.5:50:600 
RRA:MAX:0.5:5:600
rrdtool create host1users.rrd --step 300 DS:host1users:GAUGE:600:U:U 
RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:1:600 RRA:MAX:0.5:1:600
RRA:MAX:0.5:1:600

nothing seems to make any difference, what's going on?
can someone else test this and make sure I'm not just going crazy ? :)

Dan.

--There are always possibilities...


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