[mrtg] Re: Using SNMP OID in MRTG

Scott Moseman smoseman at novolink.net
Wed May 5 15:23:58 MEST 2004


Use the OID twice and use "noo" or "noi" to only graph 1 value.

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-reference.html

Search the above document for "noo" or "noi" for a description.

Thanks,
Scott Moseman


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Makai József
Sent: Wednesday, May 05, 2004 8:08 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Using SNMP OID in MRTG


Subbu,

You must use two OIDs in the target line because mrtg does not work with
only one OID.

Target[db]:
.1.3.6.1.4.1.1977.22.4.1.4.1.1.17.1.1&1.3.6.1.4.1.1977.22.4.1.4.1.1.17.1
.1:p
ublic at 192.168.1.68

Jozsef


> 
> Hope the following will help you..
> 
> create a directory to keep your mrtg log , png and html 
> files. #mkdir -p /mrtg/oracle
> 
> 
> Make a cfg file and add the following contents in the 
> file,which in turns polls and creates graphs for you.
> 
> 
> 
> WorkDir: /mrtg/oracle
> Options[_]:growright, bits
> RunAsDaemon: Yes
> Interval: 5
> 
> Target[db]: .1.3.6.1.4.1.1977.22.4.1.4.1.1.17.1.1:public at 192.168.1.68
> MaxBytes[db]: 99999999999999
> Title[db]: DB size (%)
> PageTop[db]: <H2> Oracle DB size </H2>
> 
> Your Graphs will be present on director - /home/oracle
> 
> 
> Regards
> Arun Kumar
> 


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