Pete Wilson : Consultant Software Engineer

Lowell MA   978.454.4547   pete at pwilson dot net    April 2009

  Home/Résumé  
  Sample code  
  Experimental  
  SNMP  
  CGI notes  
  CSS notes  
  Standards  
  Books 
  Virus Alerts  

Win32 SNMP

SimpleNMS Manager/Test Program

SimpleNMS version 2 is a Win32 SNMP-manager application that incorporates classic command-line tools -- snmpget, snmpgetnext, snmpset, snmpwalk, and similar -- in a windowed GUI. Its purpose is to exercise SNMPv1/v2c agents; and to offer very straightforward SNMP management.

This SNMP manager program is free for personal use.

SimpleNMS has three components:

  1. the manager itself, called SimpleNMS.exe;
  2. an XML configuration file, called SimpleNMSConfig.xml; and
  3. the user guide: SimpleNMSUserGuide.html

Download and use SimpleNMS version 2:

 SimpleNMS.zip  SimpleNMS.zip
 167kb
Zip of SimpleNMS containing the three components listed above.

Extension Agent

Microsoft extension-agent howto: Architecture

snmp.exe checked build

Here is the snmp.exe checked build (i.e., the debug build) that you need when snmp.exe refuses to load your extension-agent DLL. The common diagnostic that snmp.exe writes to the System event log is "The SNMP Service is ignoring extension agent dll yourdll.dll because it is missing or misconfigured." You're flying blind without the checked build, which printf()s real information to the command window from which you run it.

Microsoft tells you that you need this checked build, but is too coy to tell you that it has to be extracted from W2Ksp4. Here is the checked build of snmp.exe, extracted from the service pack:

 snmp-exe-checked-build.zip  snmp-exe-checked-build.zip
 45kb
Checked build snmp.exe. When you need to debug your DLL, first copy the release version of %SystemRoot%\system32\snmp.exe to somewhere safe, then temporarily replace it with this file. I had to copy it into the dllcache sub-directory to get it to work.

To use the checked build: kb158770 and kb149421.