[mrtg] Re: Counter keeps overwriting its own log?

Eric Brander eric_mailing_list at rednarb.com
Wed Sep 21 15:17:05 MEST 2005


Marcus Olson wrote:

>Resulting Log
>------------------
>1127305418 230 230 <-- Keeps rewriting with latest data instead of moving
>down the line.. 
>1127305418 0 0 0 0
>1127305117 0 0 0 0
>1127304900 0 0 0 0
>1127304600 0 0 0 0
>
>Same log file, about 15 minutes later..
>------------------
>1127306917 231 231
>1127306917 0 0 0 0
>1127306617 0 0 0 0
>1127306400 0 0 0 0
>
>
>  
>

In 15 minutes, the counter increased by 1.  So, if you are calculating a 
RATE per second, how many errors is that per second?  0.00111111111

Since MRTG & Rateup only does integers, you end up with a 0.

Long story longer:  Try using the PerHour option.

HTH,

Eric Brander

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



More information about the mrtg mailing list