IP sniffer  Aircap  PrintMon  SnmpTools


SnmpTools is an snmp agent servicing all windows performance counters thus allowing tools such as MRTG or Cacti to retrieve windows performance values (cpu, memory, disk, etc.).


Index

Installation
Usage
SNMP Get Next support
Value Types
Debug
Windows 64 bits support
Download



Installation

1. Copy snmptools.dll to system32
2. Register the snmp agent by using the reg file
3. Restart the snmp service
4. Test that the agent is running by issue a snmpget command on 1.3.6.1.4.1.15 : it should return the string 'snmptools'

Usage

Create a definition file (c:\counters.ini for example as defined by default in the reg file) where you will define your oid's and the value that should be returned (a counter, a string, or the output of an executable).
Counters have to be in english.
Exemple :
[1.3.6.1.4.1.15.1]
counter=LogicalDisk\Free Megabytes\_Total
[1.3.6.1.4.1.15.2]
type=string
counter=this is a test
[1.3.6.1.4.1.15.3]
type=exec
counter=cscript /nologo c:\test.vbs

SNMP Get Next support
snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.4.1.15 will walk to the first defined in the definition file (here above 1.3.6.1.4.1.15.1).
snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.4.1.15.1 will walk to the next oid (here above 1.3.6.1.4.1.15.1.2).
Note : the next oid means the next one in the definition file (snmptools will not re order them for you).

Returned value types

Whole numbers will be sent as snmp type=asn_integer32 (2).
Other value types will be sent as snmp type=asn_string (4).
Float values will always use '.' as separator.

Debug

Put debug="1" (string) under [HKEY_LOCAL_MACHINE\SOFTWARE\snmptools\currentversion] to debug to c:\log.txt.
                        
Windows 64 bits support

In the zip file, you will find 2 DLL's (snmp agents) : snmptools.dll and snmptools64.dll .

Native 64 bits mode :

Use the snmptools64.dll by using regagent64.reg and copy this file to windows folder, not system32.

Note that this version is not as stable as the snmptools.dll 32 bits version.

64 to 32 bits mode :

Use the snmptools.dll 32 bits version in windows 64 bits platform by using regagentWow6432.reg and copy this file to the windows folder then, not system32.



Version: 2.0.0.5
Size: 290 Kb

Download : snmptools2.zip
History
history.txt
Author:
Erwan

Link to the snmptools version 1.


Last Released on: 01-Aug-2008