Ad Widget

Collapse

Trigger Expression SNMP Traps on Zabbix 6.x

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • robertd23
    Junior Member
    • Feb 2022
    • 1

    #1

    Trigger Expression SNMP Traps on Zabbix 6.x

    Greeting All,

    Now i'm using zabbix 6.0.1,
    my device Network Convergence System 2000, unfortunately Zabbix does not provide the template and beside that this NCS does not have SNMP Pool that's why im using SNMP Traps.
    Trying to apply SNMP Traps and show it as "Problem" on Dashboard.

    Sample Trap :
    version 1
    receivedfrom UDP: [172.x.x.x]:161->[172.x.x.x]:162
    errorindex 0
    notificationtype TRAP
    community xxxx
    errorstatus 0
    messageid 0
    transactionid 5586
    requestid 98217
    VARBINDS:
    iso.3.6.1.2.1.1.3.0 type=67 value=Timeticks: (2041445258) 236 days, 6:40:52.58
    iso.3.6.1.6.3.1.1.4.1.0 type=6 value=OID: iso.3.6.1.4.1.3607.6.10.30.0.6420
    iso.3.6.1.4.1.3607.6.10.100.10.20.0 type=4 value=STRING: "20220317152109S"
    iso.3.6.1.4.1.3607.6.10.20.30.20.1.80.34562.6420 type=2 value=INTEGER: 40
    iso.3.6.1.4.1.3607.6.10.20.30.20.1.20.34562.6420 type=2 value=INTEGER: 1000
    iso.3.6.1.4.1.3607.6.10.20.30.20.1.60.34562.6420 type=2 value=INTEGER: 34562
    iso.3.6.1.4.1.3607.6.10.20.30.20.1.30.34562.6420 type=2 value=INTEGER: 8
    iso.3.6.1.4.1.3607.6.10.20.30.20.1.40.34562.6420 type=2 value=INTEGER: 30
    iso.3.6.1.4.1.3607.6.10.20.30.20.1.50.34562.6420 type=2 value=INTEGER: 0
    iso.3.6.1.4.1.3607.6.10.20.30.20.1.100.34562.6420 type=4 value=STRING: "LINEWL-8-3-RX-4294W"
    iso.3.6.1.4.1.3607.6.10.20.30.20.1.120.34562.6420 type=2 value=INTEGER: 20
    iso.3.6.1.4.1.3607.6.10.20.30.20.1.130.34562.6420 type=2 value=INTEGER: 20
    iso.3.6.1.4.1.3607.6.10.20.30.20.1.140.34562.6420 type=2 value=INTEGER: 20
    iso.3.6.1.6.3.18.1.3.0 type=64 value=IpAddress: 172.x.x.x

    ================================================== ==============================================

    Here is my trigger expression :
    last(/BIN-Metro/snmptrap[LINEWL-8-3-RX-4294W])>0


    but it's not working, Could anyone help me, how to define Trigger Expression ?

    Thank you in advance,
    Robert
Working...