[mrtg] Re: Math Calcs with OIDs

Sawyer, David david.sawyer at uk.mckhboc.com
Wed Mar 13 10:08:10 MET 2002


Don't forget the 'noo' and 'noi' options in MRTG v2.9.11 or above.

That way you can use the same OIDs and the above options will remove the
first (noi) or second (noo) variable from the graphs.

i.e.

Target[ch]: 1.3.6.1.4.1.23.2.28.2.6.0&1.3.6.1.4.1.23.2.28.2.6.0 /
            1.3.6.1.4.1.23.2.28.2.5.0&1.3.6.1.4.1.23.2.28.2.5.0
            :public at 10.5.100.1
Options[ch]: noo, growright, gauge

HTH

David Sawyer

Email: david.sawyer at mckesson.com

 www.geocities.com/mrtg_daemon
   MRTG/RRDTool daemon for Windows9x/ME/2k
   MRTG GUI ConfigMaker for Windows9x/ME/2k
   TopTalker - See who the top talkers are on your network
   TFTP Cisco configs automagically




-----Original Message-----
From: PAUL WILLIAMSON [mailto:pwilliamson at mandtbank.com]
Sent: 12 March 2002 18:28
To: mrtg at list.ee.ethz.ch; jader at via-intl.com.br
Subject: [mrtg] Re: Math Calcs with OIDs



You need two OIDs first.  Then you need to do calculations on them.

Target[ch]:1.3.6.1.4.1.23.2.28.2.6.0&OID2:public at 10.5.100.1 
 / 1.3.6.1.4.1.23.2.28.2.5.0&OID4:public at 10.5.100.1 

This will work.  The challenge is finding the two OIDs.  Ideally, you would 
want to find either two OIDs that return one or use the same OID for 
OID2 & OID4.

Paul

>>> "Jader Marasca" <jader at via-intl.com.br> 03/12/02 12:40PM >>>

Hi!

I'm new to MRTG and beside to have several targets configurated ok I'm
unable to do math calcs 
with OIDs!

I like to configure MRTG to watch CacheHits on a Novell Netware 5. So I did
this file 

***start of  t.cfg file***
Target[ch]:(1.3.6.1.4.1.23.2.28.2.6.0 /
1.3.6.1.4.1.23.2.28.2.5.0):public at 10.5.100.1 

Thanks!

Jáder
[]s, 

     Jáder


----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------



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