[mrtg] Maths

Charles Gillanders charles at toucan.ie
Wed Jul 7 13:53:20 MEST 1999


I am reading a variable from an NT machine indicating amount of Virtual
Memory in Use, the variable can return anything up to 3GBytes, now I tried
to set maxbytes2 equal to 3100000000 but I get a warning that maxbytes has
exceeded MAXINT.  I suspect the easiset way round this is to set Maxbytes2
lower and divide the incoming value by 100 by performing some maths on the
target line.
 
Here's my existing target definition, Does anyone know what do I need to do
to devide the second variable by 100?
 
Target[Tarbh.Memory]:
1.3.6.1.4.1.311.1.1.3.1.1.4.1.0&1.3.6.1.4.1.311.1.1.3.1.1.4.2.0:public at Tarbh
 
Thanks,
 
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.oetiker.ch/pipermail/mrtg/attachments/19990707/8244905a/attachment.html 


More information about the mrtg mailing list