[mrtg] Re: mib calculations

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Jan 31 15:33:49 MET 2000


mward at notes.bt.com wrote:
> 
> Is it possible in MRTG to derive the results from another.eg. I have 2 MIB
> values that I want to divide by each other and multiply by 100 to give me a
> percentage. Can MRTG perform maths in this way using the responses from snmp
> queries as operands.
> 
Yes it can.  There is some info in the config.txt file and I think
there is even an example for this specific problem.

If not, you should be able to find it in the archive.

>From memory, may be slightly wrong:

Target[x]: 100 * 1.3.6.1.....:public at host / 1.3.6.1.....:public at host

When in doubt, use some whitespace.

regards,
-- 
   __________________________________________________________________
 / 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 |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list