[rrd-users] correcting data in the rrd fiel using dump/restore

Patrick Ammann Patrick.Ammann at nextra.ch
Wed Dec 20 11:00:52 MET 2000


Hi,

I'm just using rrd to monitor a lot of Router Interfaces.
The problem i got is the following.

Sometimes there are some reboots of the routers or other strange thing 
happening
so that i can see a peak of up to 60MB on a physical 2Mbit line.

I now tried to find the data in the rrd file using the rrdtool dump.
The interesting part is (the one with e+06):

<!-- 2000-12-03 11:00:00 MET --> <row><v> 2.4885314243e+01 </v><v> 
8.8141531383e+00 </v></row>
<!-- 2000-12-03 13:00:00 MET --> <row><v> 7.0747748468e+06 </v><v> 
7.0748526307e+06 </v></row>
<!-- 2000-12-03 15:00:00 MET --> <row><v> 7.0140073998e+06 </v><v> 
7.0141222632e+06 </v></row>
<!-- 2000-12-03 17:00:00 MET --> <row><v> 1.0157076638e+02 </v><v> 
1.3922295623e+01 </v></row>

The next thing i did was editing the xml file in the header so that limits 
are set like


<ds>
     <name> out </name>
     <type> COUNTER </type>
     <minimal_heartbeat> 740 </minimal_heartbeat>
     <min> NaN </min>
     <max> 2.0e+06 </max>

     <!-- PDP Status -->
     <last_ds> 2520966830 </last_ds>
     <value> 6.0714531365e+05 </value>
     <unknown_sec> 0 </unknown_sec>
</ds>

As much as i can understand it shouldn't be possible to have peaks higher 
than 2Mbit in the graphs. When
im using rrdtool restore (witch the option -r) to make the rrd database 
again with range check it tells me that

out of range found [ds: 1], [value : 7.0748526307e+06]
out of range found [ds: 1], [value : 7.0141222632e+06]

The goal is, that i would like to autocorrect these values to max 2Mbit so 
that i can see something on the graph
even when i use autoscale.

My question now is if i'm missing something or if it isn't possible to 
autocorrect these rrd databases so
that there couldn't be some peaks in the data ? Does this dump/restore 
operation only act for futire datas
who will be added to the rrd database or should they also match for datas 
who are already stored in the rrd
database ?

Many thanks for your help.

Patrick



-------------------------------------------------------------------
Beginner thinks 1Kb == 1000 bytes. Master knows 1Km == 1024m


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