Discussion Locked

Monitoring NT PerfMon counters with SNMP

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

4 replies

by vinniv

i am not too sure why this would have occured, but plz check the SNMP version (v1 or v2).
For a good understanding about SNMP and error codes try using William Stallings SNMP v1, v2, v3....

by morris s.

I know a nice tool you could use - Adrem Netcrunch, You can monitor PerfMon directly (no SNMP) on all NT/2000/XP/ w2k. What?s more you can use standard MS SNMP Agent to get the information. The beauty, you can also monitor Linux, netware and all devices like; routers, switches etc. everything with one tool.

by rdorsett

Hi,
Just read the tools reply and thought I have been/am here. Company I work for is too big to leave it to guess, too small for openview. Were using managewise, got lots of false pages.... Product is now unsupported.
Am now trying a combination of MRTG and Big Sister http://bigsister.graeff.com/home.html from Source Forge. Tried to do all config from scratch but soon worked out you need a MIB-walker.
Got that in the form of Loriot V1 Build 134(Loriot Pro v2 seems to be purchasableor will be soon as you get a time limited trial when you download) Loriot V1 easy to configure and will do lots(traps rec,traps send, SYSLOG, alerting, Web, Graphics, dial guage, graphs, rmon, SNMPv1,2``3), may even be the total solution for some people. Does have a memory leak that required reboot2 days or so. I just used it to get right oids.
I did however have difficulty running Big Sister on Win NT and WIN2k. Through MUCH trial and error foung that PERL 528 runs well (with exception of graphics and alerting) on both platforms with Big Sister but the same config will fail with 630 and 633. Same config files run all (graphics, Alerting and Monitor) on Linux 8.
Thats where I am at, By the way there are commercial versions Big Sister has Big Brother
MRTG with alerting = SOMIX (Danika & or osivity)
May go to commercial versions for support and the fact that for more details need to load agents on servers!

This discussion is closed to new replies.