Contact Info

Crumbtrail

ActiveXperts.com » ActiveSocket » SNMP Trap Receiver Service

Network Component - SNMP Trap Receiver Service

The SNMP Trap Receiver Service is a utility that ships with Network Component. The program runs as a Windows service (in the background), without a user infterface, and stores incoming traps in a database (MS Access database by default). Configuration settings are stored in a plain ASCII file.

The SNMP Trap Receiver Service features the following:

Installation of the SNMP Trap Receiver Service

When Network Component is installed, the 'SNMP Trap Receiver Service' is not installed by default. Only the program file (ASTrpSvc.exe) is installed. You need to run the SNMP Trap Receive 'Installation and Configuration' program first to register and run the program as a service, like this:

Database

The 'SNMP Trap Receiver Service' stores all incoming traps in an MS Access database. This database file is called SNMPTRAPS.MDB and is located in the <INSTALL>\SERVICE directory. You can change the database location from the CONFIG.INI file (explained below).

Logging

The 'SNMP Trap Receiver Service' logs all SNMP- and database operations in a log file called SNMPTRAPS.LOG. It is located in the <INSTALL>\SERVICE directory. You can change the log file location from the CONFIG.INI file (explained later). Here, you can also set log operation levels and enable/disable logging.

Configuration of the SNMP Trap Receiver Service

All configuration items are stored in a plain text file. After installation of the service adds the following value to the registry:

HKLM\Software\ActiveXperts\Network Component\SnmpTrapReceiver\ConfigFile

This value points to the configuration file of the service. By default, this value points to the CONFIG.INI file located in the same directory as the service executable:

C:\Program Files\ActiveXperts\Network Component\Service\Config.ini

You can edit this configuration file manually, using your favorites text editor. The following items can be configured:

Uninstallation of the SNMP Trap Receiver Service

To uninstall the SNMP Trap Receiver Service, use the same program as used to install the service. The program has the option to uninstall the service.