Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

Event collection for SNMP traps

Log in to subscribe to topics and get notified when content changes.

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: evt_mgmt_operator

Ensure that the MID Server is assigned with either EventManagement or ALL applications.

About this task

Use the MID SNMP Trap Listener to listen for SNMP traps. In this configuration, the specified MID Server acts as a collection endpoint for SNMP traps.


  1. Navigate to Event Management > Event Listener (Push) > MID SNMP Trap Listener.
  2. Click New.
  3. Complete the SNMP Trap Collector Context form:
    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.

    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:

    • Started: The listener is running.
    • Stopped: The listener is not running.
    • Offline: The MID Server is down.
    • Error: The listener failed with an error.
    Execute on The MID Server location for running this listener. Select from:
    • Specific MID Server
    • Specific MID Server Cluster
    The recommended setting is Specific MID Server. Network hardware typically has to be configured to send to a specific IP address. For example, if the listener is moved to a different MID Server in the cluster, the trap would not be received.
    MID Server Specify:
    • The name of the designated MID Server when you select Specific MID Server in the Execute on field.
    • The name of the designated MID Server cluster when you select Specific MID Server Cluster in the Execute on field.
    If you selected Specific MID Server Cluster, a ServiceNow algorithm determines which server in the cluster runs the listener.
    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.
  4. Right-click the form header and select Save.
  5. 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 v3 is selected in the SNMP version field.
  6. In the Related Links section, click Test parameters.
  7. Click Update.
  8. (Optional) If the MID Server fails to start, review the MID Server log errors.

What to do next

In Related Links, these actions may be run against the SNMP traps listener:
Table 1. Commands available in the SNMP trap listener form
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 Restart or Update parameters are clicked.