[mrtg] Re: MRTG ignores Unscaled[_]

Bogdan Sass bogd.no.spam at gmail.com
Sat Jan 28 21:55:14 MET 2006


[I tried to send this update twice before, but failed because of
overquoting. I will try again now, with some more details. My
apologies to the moderator - as I was saying, I'm new to the list and
I don't know all the rules... :| ]

   Update: it seems the graphs are actually unscaled, but the maximum
scale chosen by MRTG is now 12.8 Mbps. And this is what made the
graphs seem unscaled - some interfaces have more than 12Mbps running
through them.
   It seems that the new version interprets the MaxBytes value in the
config file as... MaxBits. The problem is that cfgmaker and mrtg seem
to have different opinions on the matter. Taking for example a 100
Mbps FastEthernet interface, cfgmaker will output a value of
12,500,000 for MaxBytes. Which is correct. But mrtg interprets that
value as bits, which leads to the wrong value in the graphs scale.
   Is this a bug in the new version? Or just a feature that I don't
know how to use yet?


On 1/28/06, Bogdan Sass <bogd.no.spam at gmail.com> wrote:
>    I've recently upgraded MRTG to a newer version (2.12.1 I think -
> although I don't know for sure how to find out the version number. The
> value above was taken from the manpage :) ). Since upgrading, MRTG
> simply ignores the "Unscaled[_]" option in one of the config files.
> The graphs are printed OK, but they are always scaled. No matter if I
> set it globally (Unscaled[_]) or for a single target
> (Unscaled[10.128.0.9_FastEth...]), MRTG just keeps ignoring it.
>    Here is a sample from my config file:

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