[mrtg] Re: Using SNMP OID in MRTG

Arun Kumar arun.kumar at estelcom.com
Wed May 5 14:38:27 MEST 2004


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



----- Original Message -----
From: "keshava subramanyam" <subbusoftential at yahoo.com>
To: <mrtg at list.ee.ethz.ch>
Sent: Wednesday, May 05, 2004 4:48 PM
Subject: [mrtg] Using SNMP OID in MRTG


dear Friends,

I have a OID to get value of the 'Oracle DB file Size'

[root at station52 root]# snmpget 192.168.1.68 public
.1.3.6.1.4.1.1977.22.4.1.4.1.1.17.1.1
enterprises.1977.22.4.1.4.1.1.17.1.1 = 183500800
now, i want to graph using MRTG by taking the above value

any help would be appreciated..

Thanks in advance

subbu




---------------------------------
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs

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



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