[mrtg] Re: Using SNMP OID in MRTG

Makai József jozsef.makai at siemens.com
Wed May 5 15:08:20 MEST 2004



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