[mrtg] Re: max int error
lists at ripper.informatik.uni-ulm.de
lists at ripper.informatik.uni-ulm.de
Tue Mar 21 10:59:10 MET 2000
In article <f04310100b4fc7d9b368d@[216.93.20.21]> you wrote:
> Im running into this problem too when trying to graph disk
> utilization (2.8.12 on *BSD). I can find the maxint arguments but
> have no idea how to fix it.
>
> 'maxbytes[]' =>
> ['(($arg =~ /^[0-9]+$/) && ($arg <= (2**31)-1))',
> '"$arg must be a Number smaller than maxint"'],
>
> 'maxbytes1[]' =>
> ['(($arg =~ /^[0-9]+$/) && ($arg < (2**31)-1))',
> '"$arg must be a Number smaller than maxint"'],
>
> 'maxbytes2[]' =>
> ['(($arg =~ /^[0-9]+$/) && ($arg < (2**31)-1))',
> '"$arg must be a Number smaller than maxint"'],
You can disable these limits by replacing the above with:
'maxbytes[]' => ['1','"Internal Error"'],
'maxbytes1[]' => ['1','"Internal Error"'],
'maxbytes2[]' => ['1','"Internal Error"'],
but you might run into other problems as I'm not sure if rateup can handle
these big values (it might work, rateup uses floats and string numbers).
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
More information about the mrtg
mailing list