[rrd-users] correcting data in the rrd fiel using dump/restore
Patrick.Ammann at nextra.ch
Wed Dec 20 11:00:52 MET 2000
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
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>
<!-- 2000-12-03 13:00:00 MET --> <row><v> 7.0747748468e+06 </v><v>
<!-- 2000-12-03 15:00:00 MET --> <row><v> 7.0140073998e+06 </v><v>
<!-- 2000-12-03 17:00:00 MET --> <row><v> 1.0157076638e+02 </v><v>
The next thing i did was editing the xml file in the header so that limits
are set like
<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>
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
Many thanks for your help.
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
More information about the rrd-users