Hi, I’m trying to monitor Windows NT Performance Counters using the SNMP protocol. In the Resource Kit there is a useful tool called SNMPUTIL which can ask devices for information about its state.
I found an utility called MRTG for monitoring routers, but configurable for monitoring servers using the specific OID’s. This utility can graph the values obtained leaving a good trace of the state of a device daily, weekly, monthly and yearly.
I have gotten values using this utility but first trying them with SNMPUTIL. With this program I can get the values for any Windows NT counter but not for SQL server counters. When I run a query using, for example this:
snmputil get localhost public .1.3.6.1.4.1.311.1.4.1.1.2.1.4
(which must return The number of physical page reads completed since SQL Server was started.)
I receive the following:
Error: errorStatus=2, errorIndex=1
My question is why using this syntax I can not get the value? But, if I use getnext, I receive the value.
Does somebody knows what “Error: errorStatus=2, errorIndex=1” means? Where can I find information about SNMP errors?
Thanks.