SNMP Event Adapter component diagram and overview
The SNMP Event Adapter is a part of the Event Adapters service (mcxa), which includes the following adapters.
- Log file adapter (reading and parsing logfiles)
- Event Log adapter for window (reading and parsing windows event logs)
- SNMP trap adapter(receiving and parsing SNMP traps types 1 and 2)
- SNMPv3 trap adapter (receiving and parsing SNMP type 3 traps)
This section describes about SNMP trap and SNMPv3 trap adapters.
The SNMP trap and SNMPv3 trap adapters are configured in installationDirectory/pw/server/etc/mcxa.conf.
Example:
Engine = MA::ESnmpTrap
ServerName = pncell_mike
SnmpV3
Engine = MA::ESnmpTrapV3
ServerName = pncell_mike
SnmpTrapdConf = snmptrapd.conf
For additional examples, see the mcxa.conf file.
BPPM SNMP Adapter
(click the picture to see a larger version)
SNMP MIB files must be published for the adapter before the SNMP Adapter receives the SNMP traps. This is handled by the SNMP Adapter Configuration Manager or the mib2map command line interface.
When the SNMP trap is received, the SNMP Adapter tries match the OID of the trap to the class defined in mcsnmptrapd.map and populates slots based on that definition.