[mrtg] Re: multiplying returned snmp variable

PAUL WILLIAMSON pwilliamson at mandtbank.com
Mon Apr 5 00:18:56 MEST 2004


>>> "Stephen Patterson" <steve at patter.mine.nu> 
>04/04/04 17:03 PM >>>
<snip>
>I need to multiply the snmp return by 4096.
>I've tried fetching both 
<more snip>
>.1.3.6.1.2.1.25.2.3.1.6.1*4096&
>.1.3.6.1.2.1.25.2.3.1.6.1*4096:public at scomailcne
>

Ah, so close, but yet so far...

Because MRTG needs two OIDs, any multiplication is 
done on both returned values.  Try:

1.3.6.1.2.1.25.2.3.1.6.1&
1.3.6.1.2.1.25.2.3.1.6.1*4096:public at scomailcne

That should work fine.

Paul

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