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:[EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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'

[EMAIL PROTECTED] 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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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

Reply via email to