[mrtg] Help with target

Scott scott.list at mlec.net
Tue Aug 14 03:14:12 MEST 2001


Hello:

I have a relatively simple target that I use via direct snmp.

I monitor several boxes that have the same paramaters and add them together
like:

Target[mytar]:
.1.1.1.1.1.1.1&.1..1.1.1.1.2:community at theIPaddress +
.1.1.1.1.1.1.1&.1..1.1.1.1.2:community at thenextIPaddress +
.1.1.1.1.1.1.1&.1..1.1.1.1.2:community at thenextIPaddress

I need to artificailly increase the sum of the first's item by 2 but not the
second.  i.e. the sum returned for .1.1.1.1.1.1.1 +2 but leave the sum of
.1..1.1.1.1.2 alone

I tried + 2 at the end, and I tried + 2&0 at the end but they didn't seem to
work quite as desired.

Is this possible and if so, how?

Thanks,
Scott



+ .1.3.6.1.4.1.9.10.19.1.1.4.0&.1.3.6.1.4.1.9.10.19.1.1.3.0:cnas
3003x1 at 63.84.83.3




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