Defining trap clients

To receive traps generated by the report server, you need to specify trap clients on the Trap Recipients screen.

Traps make use of UDP port 162. For traps to function, this port must not be disabled and there must be at least one trap receiver activated and running on the server.

Adding a trap recipient

Open the Alert management screen.

Switch to the Recipients tab and choose Trap Recipients.
You will access the screen listing all trap recipients and available alert definitions.

Click the Recipient Configuration button.
The Recipient Configuration window opens.

On the Trap Recipients tab, click Add.
The Add Trap Recipient window opens.

Specify the trap parameters.

  • Host - IP address of the trap recipient.

  • Read Community Name - Community name of the trap recipient.

  • Port - Port number of the trap recipient.

Click Save to save the data and close the pop-up window.
The new trap client appears on the trap recipients list. By default, the added recipient is activated.

Click Close.

Optional: Enable IPv6 support.

By default, a report server generates SNMP traps version 1 that supports only IPv4 addresses. If you want the notifications to also include IPv6 addresses, you must use SNMP traps version 2 and modify the commonAlarm-hcbs.properties configuration file on the report server.

  1. Locate and open the commonAlarm-hcbs.properties file on a machine that will send alert notifications.

    In a default installation, the entire file path is:

    *<installation directory>* \config\commonAlarm-hcbs.properties

  2. In the file, append an additional value to the MibBuilder.flags property.

    MibBuilder.flags = definesTrapsWithSmiv2, combinesAgent2TrapObjId

  3. Save the configuration.

Next

You can define multiple trap recipients and activate or deactivate them as required. You can also edit the recipients and change the host, Read Community Name, and port information at any time. To activate, deactivate, and edit a trap client, use the links in the Actions table column, on the Recipient Configuration screen.

To delete a trap client from the list, select the check box beside the recipient name and click the Delete button.