Hi to all,

I am looking for a feature to use a defined wrap around for a counter.
I have to work with a counter which turns around at 1.000.000

My idea is a new DST:

After a define "DS:a:WRAPCOUNTER:<heartbeat>:MIN:MAX"

like: DS:a:WRAPCOUNTER:600:0:1000000

=> rrdtool should count    999999     => 2
                            (valueold) => (valuenew)

if ( valueold > valuenew )
{
        value= valuenew + MAX - valueold
}

Is it possible to do such measurement with the current rrd-version ?
This would prevent an undefined value for counter where the wrap is known.


Best regards,

Christian

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to