Ad Widget

Collapse

Trigger on SNMP trap with multiple varbinds

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wojciech.wojcik
    Junior Member
    • Sep 2015
    • 4

    #1

    Trigger on SNMP trap with multiple varbinds

    Hello,

    I am trying to create a trigger based on SNMP trap below. I would like zabbix to tell me , for example, 'Interface ethernet1 failed' along with interface description.

    06:08:21 2015/10/14 ZBXTRAP 10.159.7.60
    PDU INFO:
    notificationtype TRAP
    version 1
    receivedfrom UDP: [10.10.10.10]:50865->[1.1.1.1]
    errorstatus 0
    messageid 0
    community PUBLIC
    transactionid 437
    errorindex 0
    requestid 1305760109
    VARBINDS:
    DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (353020727) 40 days, 20:36:47.27
    SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: IF-MIB::linkUp
    IF-MIB::ifIndex.1 type=2 value=INTEGER: 1
    IF-MIB::ifAdminStatus.1 type=2 value=INTEGER: 1
    IF-MIB::ifOperStatus.1 type=2 value=INTEGER: 1
    IF-MIB::ifDescr.1 type=4 value=STRING: "Ethernet1"
    IF-MIB::ifAlias.1 type=4 value=STRING: "Server1"
    SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: NET-SNMP-MIB::netSnmpAgentOIDs.10

    Anyone know how to achieve that ?

    Many thanks,

    Wojtek
  • atyler
    Junior Member
    • Aug 2016
    • 2

    #2
    Hi - Did you ever find a solution to this? I'm wanting to do the same thing.

    Comment

    Working...