Configure event collection for SNMP traps
The SNMP listener runs on the MID Server, which acts as a collection endpoint for SNMP traps. The MID Server sends the traps to the ServiceNow instance for further processing as an event by Event Management.
Before you begin
Role required: agent_admin
Note:
- To view the MID SNMP Trap Listener in the UI: agent_admin
- To perform other operations, any one of the following roles is required: agent_admin, evt_mgmt_integration, or evt_team_operator
Ensure that the MID Server is assigned with either EventManagement or ALL applications.
About this task
Use the MID SNMP Trap Listeners to listen for SNMP traps. In this configuration, the specified MID Server acts as a collection endpoint for SNMP traps.
Procedure
Navigate to All > Event Management > Integrations > MID SNMP Trap Listeners.
Select New.
Complete the SNMP Trap Collector Context form.
| Option | Description |
|---|---|
| Name | Unique name for the SNMP Trap Collector. |
| Short description | Short description of the MID Server extension execution context. |
| SNMP version | Specify the SNMP version:- v1 and v2c - v3 |
| Minimum Security Level | The valid security level values are: - None - No security level value set. - noAuthnoPriv - Communication without authentication and privacy - authNoPriv - Communication with authentication and without privacy. - authPriv - Communication with authentication and privacy. Note: This field appears only when v3 is selected in the SNMP version field. |
| UDP Port | UDP port for SNMP Trap Collector to receive SNMP Traps. The default value is 1,162. However, if the port is already in use, you can use any other free port instead. |
| Status | The status of the trap listener. This field is blank until the listener is run. After the listener has run, the value is automatically populated to one of these statuses:
|
| Execute on | The MID Server location for running this listener. Select from specific MID Server. The recommended setting is Specific MID Server. Network hardware typically has to be configured to send to a specific IP address. |
| MID Server | Specify the name of the designated MID Server when you select Specific MID Server in the Execute on field. |
| EngineID | Displays only when SNMP version=v3.
|
| Executing on | The name of the MID Server on which the extension is running. This field shows the name of the MID Server even if the MID Server is down. If you stop the extension, this field is empty. This field is automatically populated. |
Right-click the form header and select Save.
In the Credentials for SNMPs section, specify the required SNMP v3 credentials that the SNMP listener uses for authentication.
Note: The Credentials for SNMPs section appears only when
v3is selected in the SNMP version field.In the Related Links section, click Test parameters.
Click Update.
If the MID Server fails to start, review the MID Server log errors.
When working with object identifiers (OIDs), a trailing OID counter can affect event rule matching. To remove the trailing counter value from translated OIDs, navigate to MID Server > Properties and set the mid.em.snmp_old_key_counter_cut.enabled property to true. The property removes the trailing numeric value only when it can be identified as the OID counter. If additional numeric segments remain in the translated OID (for example, because MIB translation is incomplete), the counter is not removed because the system can't determine which numeric values are significant and which represent the counter.
What to do next
In Related Links, these actions may be run against the SNMP traps listener:
| Related Link | Description |
|---|---|
| Start | If it is currently not running, starts the listener. The listener is started on the configured MID Server and port number. |
| Stop | Stops the running listener on the configured MID Server. If the listener is not running, no action is taken. |
| Restart | Stops, then starts the listener on the configured MID Server and port number. |
| Test parameters | Tests that the port is a valid number. |
| Update parameters | If you make changes to the listener configuration, use this option to update the parameters of the currently running listener. First, the parameters are tested for validity. If the parameters are valid, the listener disconnects and reconnects with the new parameters. |
Note: Updates to the SNMP trap listener take effect only after clicking Restart or Update parameters.
- Configure the SNMP traps listener to receive OEM traps
Configure the SNMP trap listener to receive traps from Oracle Enterprise Manager (OEM). - Configure SNMP Trap collection for high availability
For SNMP traps, the MID Server requires failover configuration for the trap listener. - Configure message keys to spread SNMP object identifiers
By default, most SNMP trap events are processed by a single Event Management processing job. This can negatively effect event processing. Configure message keys on the MID Server to ensure that more than one processing job is invoked, ensuring optimal SNMP trap performance.
Parent Topic:Configure Event Management connectors
Related topics