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:
Snmp
Engine = MA::ESnmpTrap
ServerName = pncell_mike
SnmpV3
Engine = MA::ESnmpTrapV3
ServerName = pncell_mike
SnmpTrapdConf = snmptrapd.conf
Engine = MA::ESnmpTrap
ServerName = pncell_mike
SnmpV3
Engine = MA::ESnmpTrapV3
ServerName = pncell_mike
SnmpTrapdConf = snmptrapd.conf
For additional examples, see the mcxa.conf file.
SNMP Adapter
SNMP MIB files must be compiled for the adapter before the SNMP Adapter receives the SNMP traps. This is handled by the mib2map command line utility. For details, see Using-the-mib2map-CLI-utility.
When the SNMP trap is received, the SNMP Adapter tries matching the OID of the trap with the class defined in mcsnmptrapd.map and populates slots based on that definition.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*