[mrtg] Re: MaxBytes

WEYMIENS Bruno FTRD/DMI/SOP bruno.weymiens at rd.francetelecom.com
Tue Sep 4 09:59:40 MEST 2001

I will make new checks of what results I have precisely, indeed.

thanx !

-----Message d'origine-----
De : Alex van den Bogaerdt [mailto:alex at slot.hollandcasino.nl]
Envoye : lundi 3 septembre 2001 19:38
A : bruno.weymiens at rd.francetelecom.com
Cc : mrtg at list.ee.ethz.ch
Objet : Re: [mrtg] Re: MaxBytes


> ok, I tried to put MaxBytes = 200, but in that case, the red line is put
> 200, not 2000, and every value > 200 is ignored, which happens often
> "value" is multiplied by 10 !


> so I someone can explain to me which error I did...
> is it because the value is multiplied by 10 (ie in the MIB, the value is
> < 2000, then multiplied by 10 = 2560 > 2000) ?

> What I'd like to have, is a kind of threshold equal to 2000, compared to a
> value computed from 2 MIB OIDs (x * 10) ; and if the result is > 2000,
> ignore it.

I don't get it.

Am I right in assuming that the values you wish to allow are
upto 2000 *before* being multiplied by 10 ?

You write that if you set MaxBytes to 200, every value above 200 is
ignored.  You also write (sort of) that you want to allow original
values of 256 (which become 2560 when multiplied by 10).

However, if you set MaxBytes to 2000 then an original value of 256
is already ignored. So, obviously, MRTG checks the value after it
has been multiplied by 10.

If you want to allow the 256 value and if MRTG does indeed check
MaxBytes after multiplying by 10, MaxBytes should at least be 2560.
On the other hand, you write that you want to compare (x * 10) to 2000.
This indicates to me that you want to ignore any value of x which is
above 200 (so: 256 is wrong).

Now you have to find out where you misinterpreted the evidence.

It is highly unlikely that MRTG compares the input 'x' to MaxBytes
when you have a MaxBytes of 200 and compares the input 'x * 10' to
MaxBytes when MaxBytes is 2000.

It will either compare 'x' to MaxBytes in both cases, or it will
compare 'x*10' to MaxBytes in both cases.

So, make up your mind.  Clearly describe for yourself what you want
to do.  Rebuild, from scratch, the mrtg config file.  If it fails,
clearly describe the problem.

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

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