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

Marcus Olson molson at fanball.com
Wed Sep 21 15:24:33 MEST 2005


Thanks, I'll let you know in about an hour if that worked.  Why would it
rewrite that first line instead of just writing the first line, and
everything after staying at Zero and never changing until something big
happened resulting in..

1127306917 230 230
1127306917 0 0
1127306917 0 0
1127306917 0 0
1127306917 0 0
1127306917 0 0
1127306917 10 10
1127306917 0 0
1127306917 0 0



-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Eric Brander
Sent: Wednesday, September 21, 2005 8:17 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Counter keeps overwriting its own log?

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

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