[mrtg] Re: Sql user connections

Eric Brander eric_mailing_list at rednarb.com
Wed Sep 21 16:13:41 MEST 2005


Dijk, Sebastian van wrote:

>As i am getting a bit more familiar with the "snmp troubles" i am now
>trying to monitor our "SQL user connections" :)
> 
>With GETIF i found that i need to use ".1.3.6.1.4.1.311.1.4.1.1.2.1.16"
>to monitor the amount of "sql user connections'.
> 
>When i enter this ID in snmp walk i get a bit weird result (you should
>only expect the value that's been read)
> 
>D:\snmpwalk>snmpwalk ipadres community .1.3.6.1.4.1.311.1.4.1.1.2.1.17
>--> ENTER
>.iso.3.6.1.4.1.311.1.4.1.1.2.1.17.12.83.81.76.95.83.69.82.86.69.82.48.49
>= Gauge
>: 111
> 
>So it does work, it measures 111 SQL user connections.
>However what is that strange ID i get on the 2nd line ?
>If i use that one with snmp walk i get no result.
> 
>  
>
SNMPWalk "walks" the OID tree and reports everything below it.  SNMPGet 
gets a specific OID, which is also what MRTG does. So, use that long OID 
in your config file and MRTG should graph it just fine.

G'luck!

Eric Brander

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list