[mrtg] Re: How the interval value works...

Albinati, Luis Martin Albo at prima.com.ar
Fri Jun 29 23:27:12 MEST 2001


Hi, I think what you are looking for is this, I have not tried it but give
it a shot:
(extracted from MRTG Configuration Reference
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html)

OPTIONAL PER TARGET PARAMETERS

[....]

Step
Change the default step from 5 * 60 seconds to something else (I have not
tested this well ...)

Example:

 Step[ezwf]: 60

Hope it helps.
Greetings,
Luis

-----Original Message-----
From: Schuyler Bishop [mailto:SBishop at e-xpedient.com]
Sent: Friday, June 29, 2001 15:18
To: MRTG Developers list (E-mail); MRTG list (E-mail); RRD Users list
(E-mail)
Subject: [mrtg] How the interval value works...



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


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