Sending Trap

Introduction: 

This section is common to all the editions of IT360 - Professional Edition, Enterprise Edition (Probes) and MSP Edition (Probes).

There are certain circumstances, when some Manager Applications also need to be intimated about occurrance of fault in the Servers or Applications, being monitored. In such cases, the alerts can be sent as traps to the Manager applications, and they can be viewed by any standard SNMP Manager, such as Trap Viewer, HP Openview, IBM Tivoli etc. The supported versions of SNMP Trap are SNMPv1 and SNMPv2c.

Creating Trap Action:

To configure an alert as a trap and send it as an action, follow these steps;

  1. Go to 'Admin -> Servers & Applications -> Actions' [or] 'Admin -> Alarms -> Actions'.

  2. Click 'Create Trap Action' link. This opens the 'Create Send Trap action' page.

  3. Select the SNMP trap version (v1/ v2c) from the combo box.
  1. If you select the SNMP trap version v1, specify the following details;

    1. The 'Display Name' for the action.

    2. The 'Destination Address' or the manager application 'Host Name', to which the trap is to be sent.

    3. The 'Destination Port Number', where the manager host is running.

      The following are the details required to be filled for a trap PDU: 

    4. The 'Object ID' (OID/Object Identifier) of the management object of a MIB.

    5. The 'Community' for the trap.

    6. The 'Message (Varbinds)', which will be sent as trap varbinds. The message can be enhanced by using Replaceable Tags.

      Note : Multiple Varbinds can be specified by having multiple ObjectIDs and their values as comma separated in "ObjectID" and " Message (Varbinds) " field respectively. For e.g., you can give ObjID1, ObjID2, ObjID3 in the ObjectID field to represent 3 Object IDs and correspondingly give ObjValue1, $RCAMESSAGE (the root cause message will be passed through the replaceable tag - $RCAMESSAGE), ObjValue3 etc., in the varbinds field to specify the values. ObjID1 and ObjValue1 will be passed as varbinds, same is the case with the other varbinds.

    7. Choose the 'Message Format' as 'Plain Text' or 'HTML'.

    1. Select the 'Generic Type' of trap PDU from the combo box.

    2. Specify the 'Enterprise OID' for the trap. You can also use the MIB Browser to provide the OID. In case, you want to upload a new MIB, then use the Upload File option.

    Note: If you choose the 'Generic Type' as 'enterpriseSpecific', then you should provide the 'Enterprise Specifc Type' and then specify the 'Enterprise OID', as shown in the below screenshot:

  1. If you select the SNMP trap version v2c, the details are same as from step i-vii. Then, you need to mention the 'SNMP Trap OID'.

  1. Click 'Create Action' to complete the configurations. This lists the Trap Action name and its details, along with the other actions configured, as shown in the below screenshot:

Note: 1. All the fields are mandatory.

2. Click on the 'More Help' link to learn about how to create a trap action.

Editing Trap Action:

  1. Go to 'Admin -> Servers & Applications -> Actions' [or] 'Admin -> Alarms -> Actions'. This takes you to the 'View Actions' page.

  2. Click on against the SNMP Trap Action that you want to edit. This will take you to the 'Create Send Trap action' page.

  3. Edit the Trap Listener Details and click on 'Update Action'.

Executing Trap Action:

  1. You can also have a trial execution of the Trap Action. To do so, do the following:

  2. Go to the 'View Actions' page

  3. Click the icon corresponding to that action. The trap action will be executed and the below message is displayed:

Deleting Trap Action:

  1. Go to 'Admin -> Servers & Applications -> Actions' [or] 'Admin -> Alarms -> Actions'. This takes you to the 'View Actions' page.

  2. Select the checkbox against the Trap Action that you want to delete. Click the 'Delete' link.

  1. The following confirmation message will be displayed.

  1. Click 'OK' and you will find the selected SNMP Trap Action, deleted from the list.

[Top]



Copyright © 2012, ZOHO Corp. All Rights Reserved.