Ad Widget

Collapse

Filter SNMP Trap {ITEM.VALUE}

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zabbix_Noob123
    Junior Member
    • Oct 2018
    • 6

    #1

    Filter SNMP Trap {ITEM.VALUE}

    Hello Zabbix Gurus, I am looking for some assistance on how i would be able to filter what it is displayed on the dashboard when a snmp trap is triggered. Currently i have item (snmptrap.fallback) and trigger configured with the following expression {Template_Meta_Fallback:snmptrap.fallback.nodata(3 00)}=0

    For the trigger name i have {ITEM.VALUE}, when the alarm comes in this what i see on the dashboard

    10:10:03 2018/10/23 PDU INFO: notificationtype TRAP version ...

    Now if i go to latest data and select history on host i have setup, here is what i see
    2018-10-23 10:12:29 10:12:27 2018/10/23 PDU INFO: notificationtype TRAP version 1 receivedfrom UDP: [10.1.9.90]:35273->[10.200.1.43]:162 errorstatus 0 messageid 0 community public transactionid 6154 errorindex 0 requestid 5283 VARBINDS: DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (597839333) 69 days, 4:39:53.33 SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-SMI::enterprises.19444.6.2.1.2 SNMPv2-SMI::enterprises.19444.6.2.1.2.3 type=2 value=INTEGER: 0 SNMPv2-SMI::enterprises.19444.6.2.1.2.5 type=2 value=INTEGER: 620 SNMPv2-SMI::enterprises.19444.6.2.1.2.6 type=4 value=STRING: "Session Controller "VTX-CRA1"" SNMPv2-SMI::enterprises.19444.6.2.1.2.9 type=2 value=INTEGER: 59 SNMPv2-SMI::enterprises.19444.6.2.1.2.11 type=6 value=OID: iso.2.826.0.1.1578918.6.1809.1.1.0.7.100.101.102.9 7.117.108.116 SNMPv2-SMI::enterprises.19444.6.2.1.2.20 type=2 value=INTEGER: 90 SNMPv2-SMI::enterprises.19444.6.2.1.2.21 type=2 value=INTEGER: 1 SNMPv2-SMI::enterprises.19444.6.2.1.2.23 type=4 value=STRING: "An adjacency has lost connectivity, according to SIP OPTIONS pings. Adjacency: BOB_Sheriff. Signaling-peer: 50.30.81.XX." SNMPv2-SMI::enterprises.19444.6.2.1.2.27 type=4 value="" SNMPv2-SMI::enterprises.19444.6.2.1.2.28 type=70 value=Counter64: 18446744073709551615 SNMPv2-SMI::enterprises.19444.6.2.1.2.29 type=2 value=INTEGER: 821252096 SNMPv2-SMI::enterprises.19444.6.2.1.2.51 type=4 value=STRING: "ValleyCRA" SNMPv2-SMI::enterprises.19444.6.2.1.2.53 type=2 value=INTEGER: 105 SNMPv2-SMI::enterprises.19444.6.2.1.2.55 type=4 value=STRING: "VTX-CRA1" SNMPv2-SMI::enterprises.19444.6.2.1.2.57 type=2 value=INTEGER: 50931712 SNMPv2-SMI::enterprises.19444.6.2.1.2.84 type=2 value=INTEGER: 1540307403 SNMPv2-SMI::enterprises.19444.6.2.1.2.82 type=2 value=INTEGER: -2147483648 SNMPv2-SMI::enterprises.19444.6.2.1.2.83 type=2 value=INTEGER: 0 SNMPv2-SMI::enterprises.19444.6.2.1.2.85 type=4 value=STRING: "1.2.826.0.1.1578918.6.2.1.2.59.1463819135.839 0387 72.864706422.669663047.4"
    What i would like is somehow filter or choose what information comes in on the dashboard. For example i would like it to display


    An adjacency has lost connectivity, according to SIP OPTIONS pings. Adjacency: BOB_Sheriff. Signaling-peer: 50.30.81.66.

    ValleyCRA

    VTX-CRA1


    instead of it just showing the first portion of the log, which again is currently this

    10:10:03 2018/10/23 PDU INFO: notificationtype TRAP version ...
    Last edited by Zabbix_Noob123; 31-10-2018, 16:14.
  • jessie
    Junior Member
    • Aug 2018
    • 13

    #2
    Hello!

    I am sorry I am new to Zabbix and cant provide answers to your post but I would appreciate any help with setting up SNMP trap on my HP ProLiant Gen 8 server.
    I would appreciate the information in a lay man`s language and a step by step guide please.

    thank you in advance for your assistance!

    Jessie.

    Comment

    Working...