Ad Widget

Collapse

How to create a trigger for SNMP Trap?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jarne St
    Member
    • Sep 2019
    • 63

    #1

    How to create a trigger for SNMP Trap?

    Hello,
    This is maybe a very trivial question, but how can I make a trigger if I receive a SNMP Trap.
    This is the trap that I receive:
    Code:
    16:13:13 2019/10/09 ZBXTRAP 172.27.0.172
    PDU INFO:
      messageid                      0
      requestid                      160506603
      community                      private
      transactionid                  2
      errorindex                     0
      receivedfrom                   UDP: [172.27.0.172]:50188->[172.27.0.162]:162
      errorstatus                    0
      version                        1
      notificationtype               TRAP
    VARBINDS:
      DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (0) 0:00:00.00
      SNMPv2-MIB::snmpTrapOID.0      type=6  value=OID: IF-MIB::linkDown
    This is just plain text, so what will be the trigger expression?
Working...