[rrd-users] Re: migrating from rateup to rrdtool

"Piret, Benoît" Benoit.Piret at bt.be
Tue Feb 13 13:35:18 MET 2001


I 've just tried the rrdtool resize (rrdtool resize agg.yucom.rrd 0 GROW
1000). (see here below the result od rrdtool info before and after).

What I am doing wrong ?

Benoit

BRU01V045:/var/wks5/data/flows/graphs # rrdtool info agg.yucom.rrd
filename = "agg.yucom.rrd"
rrd_version = "0001"
step = 300
last_update = 982062090
ds[in_bytes].type = "ABSOLUTE"
ds[in_bytes].minimal_heartbeat = 400
ds[in_bytes].min = NaN
ds[in_bytes].max = NaN
ds[in_bytes].last_ds = "UNKN"
ds[in_bytes].value = 8.6859392376e+07
ds[in_bytes].unknown_sec = 0
ds[out_bytes].type = "ABSOLUTE"
ds[out_bytes].minimal_heartbeat = 400
ds[out_bytes].min = NaN
ds[out_bytes].max = NaN
ds[out_bytes].last_ds = "UNKN"
ds[out_bytes].value = 3.2952308911e+07
ds[out_bytes].unknown_sec = 0
ds[in_pkts].type = "ABSOLUTE"
ds[in_pkts].minimal_heartbeat = 400
ds[in_pkts].min = NaN
ds[in_pkts].max = NaN
ds[in_pkts].last_ds = "UNKN"
ds[in_pkts].value = 1.6541524752e+05
ds[in_pkts].unknown_sec = 0
ds[out_pkts].type = "ABSOLUTE"
ds[out_pkts].minimal_heartbeat = 400
ds[out_pkts].min = NaN
ds[out_pkts].max = NaN
ds[out_pkts].last_ds = "UNKN"
ds[out_pkts].value = 1.5125851485e+05
ds[out_pkts].unknown_sec = 0
ds[in_flows].type = "ABSOLUTE"
ds[in_flows].minimal_heartbeat = 400
ds[in_flows].min = NaN
ds[in_flows].max = NaN
ds[in_flows].last_ds = "UNKN"
ds[in_flows].value = 1.1505445545e+04
ds[in_flows].unknown_sec = 0
ds[out_flows].type = "ABSOLUTE"
ds[out_flows].minimal_heartbeat = 400
ds[out_flows].min = NaN
ds[out_flows].max = NaN
ds[out_flows].last_ds = "UNKN"
ds[out_flows].value = 1.3293564356e+04
ds[out_flows].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 0.0000000000e+00
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[0].cdp_prep[2].value = NaN
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[0].cdp_prep[3].value = NaN
rra[0].cdp_prep[3].unknown_datapoints = 0
rra[0].cdp_prep[4].value = NaN
rra[0].cdp_prep[4].unknown_datapoints = 0
rra[0].cdp_prep[5].value = NaN
rra[0].cdp_prep[5].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 600
rra[1].pdp_per_row = 6
rra[1].xff = 0.0000000000e+00
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[1].cdp_prep[2].value = NaN
rra[1].cdp_prep[2].unknown_datapoints = 0
rra[1].cdp_prep[3].value = NaN
rra[1].cdp_prep[3].unknown_datapoints = 0
rra[1].cdp_prep[4].value = NaN
rra[1].cdp_prep[4].unknown_datapoints = 0
rra[1].cdp_prep[5].value = NaN
rra[1].cdp_prep[5].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 600
rra[2].pdp_per_row = 24
rra[2].xff = 0.0000000000e+00
rra[2].cdp_prep[0].value = 1.0893959570e+07
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = 4.0692451936e+06
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[2].cdp_prep[2].value = 2.1784269868e+04
rra[2].cdp_prep[2].unknown_datapoints = 0
rra[2].cdp_prep[3].value = 2.0168255050e+04
rra[2].cdp_prep[3].unknown_datapoints = 0
rra[2].cdp_prep[4].value = 1.5555495380e+03
rra[2].cdp_prep[4].unknown_datapoints = 0
rra[2].cdp_prep[5].value = 1.7851885149e+03
rra[2].cdp_prep[5].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 732
rra[3].pdp_per_row = 288
rra[3].xff = 0.0000000000e+00
rra[3].cdp_prep[0].value = 6.5515612062e+07
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = 2.3480205463e+07
rra[3].cdp_prep[1].unknown_datapoints = 0
rra[3].cdp_prep[2].value = 1.4225553961e+05
rra[3].cdp_prep[2].unknown_datapoints = 0
rra[3].cdp_prep[3].value = 1.3260016532e+05
rra[3].cdp_prep[3].unknown_datapoints = 0
rra[3].cdp_prep[4].value = 1.1526983366e+04
rra[3].cdp_prep[4].unknown_datapoints = 0
rra[3].cdp_prep[5].value = 1.2597914224e+04
rra[3].cdp_prep[5].unknown_datapoints = 0
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 24
rra[4].xff = 0.0000000000e+00
rra[4].cdp_prep[0].value = 9.5571130376e+05
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = 3.6391453630e+05
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[4].cdp_prep[2].value = 1.8582165677e+03
rra[4].cdp_prep[2].unknown_datapoints = 0
rra[4].cdp_prep[3].value = 1.7097984818e+03
rra[4].cdp_prep[3].unknown_datapoints = 0
rra[4].cdp_prep[4].value = 1.3536508251e+02
rra[4].cdp_prep[4].unknown_datapoints = 0
rra[4].cdp_prep[5].value = 1.5697709571e+02
rra[4].cdp_prep[5].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 732
rra[5].pdp_per_row = 288
rra[5].xff = 0.0000000000e+00
rra[5].cdp_prep[0].value = 1.1159791365e+06
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 3.8489886340e+05
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[5].cdp_prep[2].value = 2.4317102310e+03
rra[5].cdp_prep[2].unknown_datapoints = 0
rra[5].cdp_prep[3].value = 2.1723744114e+03
rra[5].cdp_prep[3].unknown_datapoints = 0
rra[5].cdp_prep[4].value = 1.7307014301e+02
rra[5].cdp_prep[4].unknown_datapoints = 0
rra[5].cdp_prep[5].value = 1.8019625963e+02
rra[5].cdp_prep[5].unknown_datapoints = 0
BRU01V045:/var/wks5/data/flows/graphs #
BRU01V045:/var/wks5/data/flows/graphs #
BRU01V045:/var/wks5/data/flows/graphs # rrdtool resize agg.yucom.rrd 0 GROW
1000
BRU01V045:/var/wks5/data/flows/graphs # rrdtool info agg.yucom.rrd
filename = "agg.yucom.rrd"
rrd_version = "0001"
step = 300
last_update = 982062090
ds[in_bytes].type = "ABSOLUTE"
ds[in_bytes].minimal_heartbeat = 400
ds[in_bytes].min = NaN
ds[in_bytes].max = NaN
ds[in_bytes].last_ds = "UNKN"
ds[in_bytes].value = 8.6859392376e+07
ds[in_bytes].unknown_sec = 0
ds[out_bytes].type = "ABSOLUTE"
ds[out_bytes].minimal_heartbeat = 400
ds[out_bytes].min = NaN
ds[out_bytes].max = NaN
ds[out_bytes].last_ds = "UNKN"
ds[out_bytes].value = 3.2952308911e+07
ds[out_bytes].unknown_sec = 0
ds[in_pkts].type = "ABSOLUTE"
ds[in_pkts].minimal_heartbeat = 400
ds[in_pkts].min = NaN
ds[in_pkts].max = NaN
ds[in_pkts].last_ds = "UNKN"
ds[in_pkts].value = 1.6541524752e+05
ds[in_pkts].unknown_sec = 0
ds[out_pkts].type = "ABSOLUTE"
ds[out_pkts].minimal_heartbeat = 400
ds[out_pkts].min = NaN
ds[out_pkts].max = NaN
ds[out_pkts].last_ds = "UNKN"
ds[out_pkts].value = 1.5125851485e+05
ds[out_pkts].unknown_sec = 0
ds[in_flows].type = "ABSOLUTE"
ds[in_flows].minimal_heartbeat = 400
ds[in_flows].min = NaN
ds[in_flows].max = NaN
ds[in_flows].last_ds = "UNKN"
ds[in_flows].value = 1.1505445545e+04
ds[in_flows].unknown_sec = 0
ds[out_flows].type = "ABSOLUTE"
ds[out_flows].minimal_heartbeat = 400
ds[out_flows].min = NaN
ds[out_flows].max = NaN
ds[out_flows].last_ds = "UNKN"
ds[out_flows].value = 1.3293564356e+04
ds[out_flows].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 0.0000000000e+00
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[0].cdp_prep[2].value = NaN
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[0].cdp_prep[3].value = NaN
rra[0].cdp_prep[3].unknown_datapoints = 0
rra[0].cdp_prep[4].value = NaN
rra[0].cdp_prep[4].unknown_datapoints = 0
rra[0].cdp_prep[5].value = NaN
rra[0].cdp_prep[5].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 600
rra[1].pdp_per_row = 6
rra[1].xff = 0.0000000000e+00
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[1].cdp_prep[2].value = NaN
rra[1].cdp_prep[2].unknown_datapoints = 0
rra[1].cdp_prep[3].value = NaN
rra[1].cdp_prep[3].unknown_datapoints = 0
rra[1].cdp_prep[4].value = NaN
rra[1].cdp_prep[4].unknown_datapoints = 0
rra[1].cdp_prep[5].value = NaN
rra[1].cdp_prep[5].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 600
rra[2].pdp_per_row = 24
rra[2].xff = 0.0000000000e+00
rra[2].cdp_prep[0].value = 1.0893959570e+07
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = 4.0692451936e+06
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[2].cdp_prep[2].value = 2.1784269868e+04
rra[2].cdp_prep[2].unknown_datapoints = 0
rra[2].cdp_prep[3].value = 2.0168255050e+04
rra[2].cdp_prep[3].unknown_datapoints = 0
rra[2].cdp_prep[4].value = 1.5555495380e+03
rra[2].cdp_prep[4].unknown_datapoints = 0
rra[2].cdp_prep[5].value = 1.7851885149e+03
rra[2].cdp_prep[5].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 732
rra[3].pdp_per_row = 288
rra[3].xff = 0.0000000000e+00
rra[3].cdp_prep[0].value = 6.5515612062e+07
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = 2.3480205463e+07
rra[3].cdp_prep[1].unknown_datapoints = 0
rra[3].cdp_prep[2].value = 1.4225553961e+05
rra[3].cdp_prep[2].unknown_datapoints = 0
rra[3].cdp_prep[3].value = 1.3260016532e+05
rra[3].cdp_prep[3].unknown_datapoints = 0
rra[3].cdp_prep[4].value = 1.1526983366e+04
rra[3].cdp_prep[4].unknown_datapoints = 0
rra[3].cdp_prep[5].value = 1.2597914224e+04
rra[3].cdp_prep[5].unknown_datapoints = 0
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 24
rra[4].xff = 0.0000000000e+00
rra[4].cdp_prep[0].value = 9.5571130376e+05
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = 3.6391453630e+05
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[4].cdp_prep[2].value = 1.8582165677e+03
rra[4].cdp_prep[2].unknown_datapoints = 0
rra[4].cdp_prep[3].value = 1.7097984818e+03
rra[4].cdp_prep[3].unknown_datapoints = 0
rra[4].cdp_prep[4].value = 1.3536508251e+02
rra[4].cdp_prep[4].unknown_datapoints = 0
rra[4].cdp_prep[5].value = 1.5697709571e+02
rra[4].cdp_prep[5].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 732
rra[5].pdp_per_row = 288
rra[5].xff = 0.0000000000e+00
rra[5].cdp_prep[0].value = 1.1159791365e+06
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 3.8489886340e+05
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[5].cdp_prep[2].value = 2.4317102310e+03
rra[5].cdp_prep[2].unknown_datapoints = 0
rra[5].cdp_prep[3].value = 2.1723744114e+03
rra[5].cdp_prep[3].unknown_datapoints = 0
rra[5].cdp_prep[4].value = 1.7307014301e+02
rra[5].cdp_prep[4].unknown_datapoints = 0
rra[5].cdp_prep[5].value = 1.8019625963e+02
rra[5].cdp_prep[5].unknown_datapoints = 0

-----Original Message-----
From: Alex van den Bogaerdt [mailto:alex at slot.hollandcasino.nl]
Sent: Tuesday, February 13, 2001 1:34 AM
To: Benoit.Piret at bt.be
Cc: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Re: migrating from rateup to rrdtool



=?iso-8859-1?Q?=22Piret=2C_Beno=EEt=22?= wrote:
> 
> I have no problem that old data is stored in old MRTG sampling method but
as
> soon as migration is done, I would like to enter the new sampling scheme.

If you have no problem with every extra row (above 600) being
unknown, then you could just migrate, run rrdtool resize.
This way you have a standard migration followed by a standard
resize (but do read the doc!)

Another approach is to edit the mrtg executable.  Can't help you
with that.

> On the other hand, I have MRTG2.8.12. Do I need a more recent version to
> understand  LogFormat: rrdtool ?

Not sure.  Look in your documentation.  Maybe it's better to
upgrade anyway...

HTH
-- 
   __________________________________________________________________
 / 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

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