[rrd-users] Starting problems

Jeroen Timmer TimmerJ at vertis.nl
Tue Feb 5 10:40:29 MET 2002


Hey all,

Yesterday I started using rrdtool after using MRTG for some years.

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


I made a little script that gets the inoctets and outoctets of my router,
script is working oke cause I get the values I want.
Now I try to update the *.rrd file by using the following command in the
perl script :

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 :/
I've been reading through the mailinglist archive and saw something similar
but didn't see an answer I could go further with. 
Can someone explain why my rrd isn't filling up with data ?

Here's a piece of my rrd dump :

<version> 0001 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1012898294 </lastupdate> <!-- 2002-02-05 09:38:14 CET
-->

        <ds>
                <name> input </name>
                <type> COUNTER </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> 127713252 </last_ds>
                <value> 0.0000000000e+00 </value>
                <unknown_sec> 194 </unknown_sec>
        </ds>

        <ds>
                <name> output </name>
                <type> COUNTER </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> 999621663 </last_ds>
                <value> 0.0000000000e+00 </value>
                <unknown_sec> 194 </unknown_sec>
        </ds>

Whats that piece with unknown_sec btw. ??



With regards,

Jeroen



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