[mrtg] How the interval value works...

Schuyler Bishop SBishop at e-xpedient.com
Fri Jun 29 20:18:12 MEST 2001


Sorry about the cross-post, but I don't know which list this is more
appropriate for...

Another question for the MRTG / RRD 'leet out there: Can $interval in MRTG
be fractional?  I want 5-minute averages because that's what our upstream
uses to bill us, but an OC-3 can over-run a 2^32 counter twice in a 300
second poll!

After looking at the code, it looks like it just takes the $interval and
multiplies it by 60.  I was thinking of keeping the interval at 5 minutes,
but changing the multiplier to 30.  Of course, then in my cgi I'd have to
add every other poll to get a 5-minute average...  And looking more into it,
it would make just as much sense to change the interval to 2.5 - as long as
it's not looking for an integer.

Any suggestions / comments on this?

Thanks!

Schuyler

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list