[mrtg] Re: max int error

SEGUIN, RONALD ronald.seguin at bellnexxia.com
Mon Mar 20 15:52:14 MET 2000


I'm not sure I understand, isn't (2^32-1) = 4294967295 greater than 
2488000000.

lists at ripper.informatik.uni-ulm.de wrote:
> 
> > I'm currently running mrtg-2.8.8 on Solaris 2.5.1.  We've just
> > installed an OC48 POS interface 2488 Mb/s and want MRTG to monitor it.
> >
> > I'm graphing bits/s on my graphs
> 
> You mean "Options[..]: bits"?
> 
> > and configure the MaxBytes option
> > with the actual bit/s value of an interface in order to calculate
> > the utilized percentage.
> 
> > MaxBytes[router]: 2488000000
> 
> This is still Max_Bytes_, i.e. 311000000. rateup will do the bytes-to-bits
> calculation for MaxBytes for you.
> 
> > CFG Error in "maxbytes[router]", line 126: 2488000000 must be a Number
> > smaller than maxint.
> 
> mrtg refuses to handle MaxBytes values bigger than 'maxint' (2^32-1). I'm
> not sure why.
> 
> Rainer
> --
> Rainer.Bawidamann at informatik.uni-ulm.de
> 
> --
> 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

-- 
*********************************
Ron Seguin
IS/IT Development
Bell Nexxia

(613)781-2555 (voice)
(613)781-1453 (fax)
ronald.seguin at bellnexxia.com

Intranet Home Page:
 http://intranet.bellnexxia.com/personal_Home_Pages/php_display.asp?pein=I1662
*********************************

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



More information about the mrtg mailing list