trap data in alert notifications

Jun 27, 2011 at 11:47 AM

Are there any variables that can be included in a notification subscription so that descriptions are provided for any traps received? I've got a generic monitor set up to receive all traps for all devices and a notification set up to send out an email to the appropriate party when they are triggered. However, it would be helpful to be able to include a description of the trap. Any ideas?

Jul 15, 2011 at 1:41 PM


Had the same question/problem and found a solution which works. There are several ways to make it work.

  • One is by explizit define the OID (Replace the OID with your desired one - you get it from the alert context view):
    For a Rule: $Data/EventData/DataItem/SnmpVarBinds/SnmpVarBind[OID=''][1]/Value$
    For a Monitor: $Data/Context/SnmpVarBinds/SnmpVarBind[OID=''][1]/Value$

    ATTENTION: Different path for monitors and rules. 
  • Or by select the OID by it's order id (also from alert context view):

Check out the following links for further information

Hope this works on your system too.

Cheers Reto