Chapter 4: Monitoring e-Biz Impact Events
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.
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 (
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”.
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).
type: snmpNotifyEntry – contains the
snmpNotifyEntry 31 Console trap nonVolatile and
TrapSink trap nonVolatile, which are used for
#Entry type:snmpTargetAddrEntry – has
snmpTargetAddrEntry 31 snmpUDPDomain
127.0.0.1:0 100 3 Console \ v1ExampleParams nonVolatile
255.255.255.255:0 2048, used by the server
to determine the target address to which traps are published.
Traps are SNMP version 1 and use viExampleParams.
The default entry publishes traps to
127.0.0.1:0. Entry “
the default IP address of localhost, which it is assumed is also
where the e-Biz Impact client and the Event Monitor are installed.
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.|
View this book as PDF