Ad Widget

Collapse

SNMP trap trigger not cleared

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Xyue
    Member
    • Jan 2016
    • 93

    #1

    SNMP trap trigger not cleared

    Hi,

    I have create a template to monitor the trap files and it will alert me when certain traps is received.

    After received the traps, it did alert and send the notification email. However, after 2 days, the system status still in warning and not able to changed back to normal.

    Below is the item monitored:

    Item : snmptrap["SNMPv2-MIB::coldStart"]
    Trigger : {Template SNMP traps:snmptrap["SNMPv2-MIB::coldStart"].str("coldStart")}=1

    If i guess correctly, the trigger will check through whole log file and when it found string "coldStart", it will alert me.

    So, how can i make it to check only the latest value ?

    Thank you very much in advance.
  • Xyue
    Member
    • Jan 2016
    • 93

    #2
    Hi Guys,

    Any idea on how to normalize the alert ?

    Thank you very much in advance.

    Comment

    • Xyue
      Member
      • Jan 2016
      • 93

      #3
      Hi Guys,

      Somehow i got the idea and it works. For those who received snmptraps and the switch status keep remain in alert state, below is the syntax to alert when received and cleared after certain period.


      {Template SNMP traps:snmptrap["SNMPv2-MIB::coldStart"].nodata(3600)}=0 and {Template SNMP traps:snmptrap["SNMPv2-MIB::coldStart"].str("coldStart")}=1

      Hope it can help those who faced same problem with me.

      Comment

      Working...