[mrtg] Target OID maths

robert.harrowfield at axon.co.nz robert.harrowfield at axon.co.nz
Mon May 13 05:32:38 MEST 2002


Just a quickie, I need to do some maths on OIDs in a target that isnt a
router, for example, here is a normal target string that I use for the
diskspace on a sun server

. at host

In another situation, I want to calculate AVAILABLE disk on an Alpha, that
gives me USED space and TOTAL SPACE via snmp. Therefore, I need to do some
maths (ie Total OID - Used OID&Total OID - Used OID)... I've had a go at
doing this, as per the cfg manual, but it doesnt seem to work when you are
directly specifying OID's.

Can anyone shed some light on how I should structure the target line to do


The information contained in this e-mail message is intended only for the use of the person or entity to whom it is addressed and may contain information that is CONFIDENTIAL and may be exempt from disclosure under applicable laws. 

If you read this message and are not the addressee you are notified that use, dissemination, distribution, or reproduction of this message is prohibited. If you have received this message in error, please notify us immediately and delete the original message. You should scan this message and any attached files for viruses. 

Axon Computertime accepts no liability for any loss caused either directly or indirectly by a virus arising from the use of this message or any attached file.

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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list