Configuring the SNMP EMANATE Master Agent service  Pushing traps to a custom port and machine, or multiple machines

Chapter 4: Monitoring e-Biz Impact Events

How the SNMP EMANATE Master Agent service works

e-Biz Impact server uses the SNMP EMANATE Master Agent service (snmpdm) to create SNMP traps and publish them to the Event Monitor. The SNMP EMANATE Master Agent service is installed with the e-Biz Impact server.

The SNMP EMANATE Master Agent knows where to publish traps based on the entries in two files—the Windows services file, and the SNMP EMANATE Master Agent snmpd.cnf configuration file.


services file

The Windows services file is located in C:\WINNT\system32\drivers\etc and specifies the port used by the Windows SNMP Service and the Windows SNMP Trap Service, as indicated by these lines in the file:

snmp         161/udp                   #SNMP
snmptrap     162/udp     snmp-trap     #SNMP trap

The first line indicates the Windows agent used for SNMP, which you can ignore. Because e-Biz Impact uses the SNMP EMANATE Master Agent instead, you disabled the Windows agent (snmp) running on port 161 in “Disabling the Windows SNMP Service”.

The second line lists the default port for SNMP traps. If you need to use a port other than 162 for SNMP traps, you must change the default entry in this file. See “Pushing traps to a custom port and machine, or multiple machines”.


snmpdm.cnf file

The SNMP EMANATE Master Agent snmpd.cnf configuration file is located in x:\Sybase\ImpactServer-5_4\snmp\srconf\agt on Windows and ~/Sybase/ImpactServer-5_4/snmp/srconf/agt on UNIX (where “x” and “~” is the drive, file system, or directory where the e-Biz Impact Server is installed).

When the SNMP EMANATE Master Agent is installed, the installation sets the SR_AGT_CONF_DIR system variable, which specifies where the agent’s configuration file—snmpd.cnf—is located.

The configuration file contains two predefined sections for trap notifications—#Entry type: snmpNotifyEntry (Figure 4-2) and #Entry type:snmpTargetAddrEntry (Figure 4-3).

NoteTraps are SNMP version 1 and use viExampleParams.

The default entry publishes traps to 127.0.0.1:0. Entry “127.0.0.1” represents the default IP address of localhost, which it is assumed is also where the e-Biz Impact client and the Event Monitor are installed. Entry “:0”represents the default SNMP trap service port 162.

If the Event Monitor (and the e-Biz Impact client) are installed on a different machine, or to publish traps to multiple machines, you must create an entry for each machine’s IP address. If you changed the SNMP trap port in the services file, you must also change the port number here. See “Pushing traps to a custom port and machine, or multiple machines”.





Copyright © 2005. Sybase Inc. All rights reserved. Pushing traps to a custom port and machine, or multiple machines

View this book as PDF