Mathematical operations on OIDs
nisha <[email protected]> Thu, 27 Aug 2009 06:02:11 -0500 (CDT)
| Newsgroups | gmane.network.mrtg.devel |
|---|---|
| Message-ID | <[email protected]> |
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:comm@hostname - (oid2 * 5)&(oid4 * 8):comm@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.