[mrtg] adjusting returned oid value before graphing...

David Wallis wallis at aps.anl.gov
Tue Jan 2 21:38:16 MET 2001


>>>>> "Duane" == Duane Cox <dcox at coxnetwork.com> writes:

    Duane> Is there a way to multiply the value of a returned oid by
    Duane> 100 before mrtg graphs it?  Right now values are returned
    Duane> less than 1 and will never be greater than one, it is a
    Duane> percent but instead of coming back as 90, for 90 percent,
    Duane> it comes back as .90 So if I could multiply this by 100, or
    Duane> maybe there is a better way, I can draw some graphs
    Duane> correctly.

Looks like it's hard to please *anybody*! I have exactly the opposite
problem. My SNMP agent is returning some values x 100 (e.g., 234
instead of 2.34), so I'd like to scale them down by 100 before
graphing.

Thanks,
David Wallis

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