How the interval value works...

Schuyler Bishop <[email protected]> Fri, 29 Jun 2001 14:18:12 -0400
Newsgroups gmane.network.mrtg.devel
Message-ID <E6F85CA58D2A834E99B1683C05BC798701587235__46441.3437447094$1155552250$gmane$org@mail.corp.com>
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:[email protected]?subject=unsubscribe
Help        mailto:[email protected]?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers