[mrtg] Re: Doing math with Multiple SNMP OID Targets
Timothy Finkenstadt
timothy at aloha.webkahuna.com
Fri Mar 16 18:51:36 MET 2001
> Title[FRC_PAR_01.SYS]: Sys Volume Used Space
> Target[FRC_PAR_01.SYS]:4096000-1.3.6.1.4.1.23.2.28.2.14.1.4.1+1.3.6.143.2.28
> .2.14.1.5.1&4096000-1.3.6.1.4.1.23.2.28.2.14.1.4.1+1.3.6.143.2.28.2.14.1.5.1
> :public at 10.128.1.40
Are you trying to subtract the sum of the OIDs from 4096000? there fore:
4096000 - (oid1 + oid2)
if so, you should be able to do the following target:
Target[FC_PAR_01.SYS]:4096000 - \
1.3.6.1.4.1.23.2.28.2.14.1.4.1&1.3.6.1.4.1.23.2.28.2.14.1.4.1\
:public at 10.128.1.10 - \
1.3.6.143.2.28.2.14.1.5.1&1.3.6.143.2.28.2.14.1.5.1:public at 10.128.1.10
I think this may give what you are trying to accomplish. If not, you can
change the OIDs as you require.
best regards,
tim
--
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