Hi all,

I want to perform mathematical operations on OIDs in the target line. For
example, there are 4 oids as shown below:
        traffic         packet
In      oid1            oid2
Out     oid3            oid4


Now i want to apply the following formula
        traffic in  = oid1 - (oid2 * 5)
        traffic out = oid3 - (oid4 * 10)

My target line in router cfg file is like this:
Target[targetname]: oid1&oid3:c...@hostname - (oid2 * 5)&(oid4 *
8):c...@hostname

Is this possible in MRTG? Can the router cfg file handle oids with
mathematical operations?

Thanks in advance
Nisha
-- 
View this message in context: 
http://n2.nabble.com/Mathematical-operations-on-OIDs-tp3524231p3524231.html
Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com.

_______________________________________________
mrtg-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg-developers

Reply via email to