How To Use the Snmputil.exe Tool to Verify the Microsoft SNMP Agent Configuration in Windows Server 2003 (323340)



The information in this article applies to:

  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, 64-Bit Enterprise Edition
  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2003, 64-Bit Datacenter Edition
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Small Business Server 2003, Premium Edition
  • Microsoft Windows Small Business Server 2003, Standard Edition

This article was previously published under Q323340
For a Microsoft Windows 2000 version of this article, see 323342.

IN THIS TASK

SUMMARY

This step-by-step article describes how to use the Snmputil.exe tool to verify the Microsoft Simple Network Management Protocol (SNMP) Agent configuration.

You can use the Snmputil.exe support tool to verify that the SNMP service has been correctly configured to communicate with SNMP management stations. Note that this tool is not available on the Windows Server 2003 installation CD, but you can use the Microsoft Windows 2000 version of this tool to query a computer running Windows Server 2003.

back to the top

Valid Commands

The following are valid commands that you can use with the Snmputil.exe tool:
  • get: This command gets the value of the requested object identifier.
  • getnext: This command gets the value of the next object that follows the specified object identifier.
  • walk: You use this command is used to step through (walk) the Management Information Base (MIB) branch that is specified by the object identifier.
back to the top

Install the LAN Manager MIB-II Agent

The LAN Manager MIB-II Agent for Windows NT is installed automatically with the SNMP agent, so it is the most convenient MIB to test against.

The following sections illustrate a sample query and response.

back to the top

Sample Query

snmputil getnext <machine name> public .1.3
				
back to the top

Sample Response

Variable = String Hardware: x86 Family 15 Model 2 Stepping 4 AT/AT COMPATIBLE
Value = Windows Version 5.2 (Build 3621 Uniprocessor Free)

back to the top

REFERENCES

For additional information about SNMP and Traps, click the article number below to view the article in the Microsoft Knowledge Base:

172879 Simple Network Management Protocol (SNMP) and Traps

back to the top

Modification Type:MinorLast Reviewed:7/15/2004
Keywords:kbhowto kbHOWTOmaster kbSNMP kbNetwork KB323340