[rrd-users] Mixing Updates for GAUGE & COUNTER - Bug ?

Scott Brynen scott at electricmail.com
Sat Aug 28 21:12:29 MEST 2004


I think I may have found a problem with the way RRDTOOl reacts when you're not
updating all the DS in a RRD.


Assume;
sample.rrd consists of
DS:G1:GAUGE:600:U:U
DS:G2:GAUGE:600:U:U
DS:C1:COUNTER:600:U:U
DS:C2:COUNTER:600:U:U

because of how my data is gathered, sometimes I'm updating the counters,
sometimes the GUAGE data, in this sort of fashion (Assume they're about 60 secs
apart)

rrdtool update sample.rrd -t G1:G1  N:10:20
rrdtool update sample.rrd -t C1:C2  N:1000:2000
rrdtool update sample.rrd -t G1:G1  N:10:20
rrdtool update sample.rrd -t C1:C2  N:1005:2001
rrdtool update sample.rrd -t G1:G1  N:10:20
rrdtool update sample.rrd -t C1:C2  N:1005:2010
rrdtool update sample.rrd -t G1:G1  N:11:19
rrdtool update sample.rrd -t C1:C2  N:1008:2020

or something like that...  Anyway, when the GAUGE data is put into the RRD, in
an update that doesn't include the counter data, it somehow seems to mangle the
previous counter data and render it useless.


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