[mrtg] Re: Multiply/Divide OID values
Paul C. Williamson
pwilliamson at mandtbank.com
Tue Feb 26 02:12:22 MET 2002
Two problems here...
You need spaces in between the references (just like
the + and - operators).
You need valid OIDs, not fake ones that your system
does not know about. The constants most likely will
be treated as shorthand interface numbers or some
other unpredictable amount. The challenge is to
find OIDs that your system always returns the same
value for.
Paul
>>> "Cadena, Carlos" <Carlos.Cadena at dpcdsb.org> 02/25/02 17:06 PM >>>
Hi,
What I didi was the following:
Target[Interface_Name]:
(OID1&OID2:Community at IP)*(Constant1&Constant1:Community at IP) or
Target[Interface_Name]:
(OID1&OID2:Community at IP)/(Constant1&Constant1:Community at IP)
As aresult Mrtg says to you that Constant1 is tosmall OID (I thnik is
confused because it does not appear a series of .#.#.#.#... as is a general
OID.
It does not worked.
Any help is greatly appreciated.
Best Regards,
Carlos Cadena
&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&
-----Original Message-----
From: Paul C. Williamson [mailto:pwilliamson at mandtbank.com]
Sent: Monday, February 25, 2002 4:52 PM
To: Carlos.Cadena at dpcdsb.org; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Multiply/Divide OID values
Same rules apply...
>>> "Cadena, Carlos" <Carlos.Cadena at dpcdsb.org> 02/25/02 04:43PM >>>
Hi Mrtg people,
Can someone tell me where I can find info about mathematical operation with
OIDs.
I need to multiply and divide by constant values, the reported value from
OIDs to display the values in the graph.
I have looked in the web and I found how to add (substract) OIDs but nothing
about multiplication/division or any other operation.
Best Regards,
Carlos Caena
--
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
--
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
--
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
--
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