[mrtg] Re: adding OIDs

Peter Glanville peter_glanville at cuk.canon.co.uk
Thu Feb 20 14:48:39 MET 2003




>but, how can do something like :
>target[xxx]: OID1+OID2&OID3:community at device
>(basically i want graph the sum of 2 OIDs against a 3rd OID)
>any ideas?

Find an OID4 that always returns a zero (Walk the device, hopefully there
should be one there).

target[xyz]: OID1&OID3:public at device + OID2&OID4:public at device

Note that it takes the first OID of the first pair and adds it to the first
OID of the second pair, not the other way round.





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