Ad Widget

Collapse

zabbix & trap &trigger help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alescri
    Member
    • May 2019
    • 32

    #1

    zabbix & trap &trigger help

    Good morning,
    I have a problem with the zabbix configuration and snmp traps.
    a device sends me this trap

    SNMPv2-MIB :: snmpTrapOID.0 type = 6 value = OID: US-HIQ-TRAP-MIB :: hiQNmProcessInitCompleteTrap
    FSC-RTP-MIB-EVENT-MGMT :: rtpEvtSequenceNumberIndex type = 66 value = Gauge32: 1096086

    the value 1096086 changes every trap and is the identifier that will also be used to close the problem.
    I don't understand how I can create a trigger, which refers to that value.
    could someone help me?

    thanks
  • alescri
    Member
    • May 2019
    • 32

    #2
    i created this tag ID {{ITEM.VALUE}.regsub("FSC-RTP-MIB-EVENT-MGMT::rtpEvtCurrId\stype=66\svalue=Gauge32:\s(.*)\ s","\1")} this tag contain the ID of the allarm
    is possible to create a trigger to compare this tag to another ?
    like } ?
    {{ITEM.VALUE}.regsub("FSC-RTP-MIB-EVENT-MGMT::rtpEvtCurrId\stype=66\svalue=Gauge32:\s(.*)\ s","\1")} = {FSC-RTP-MIB-ALARM-MGMT::rtpArmCiCorrIDs.0\stype=4 \svalue=STRING:\s(.*)\s","\1")})}?

    Comment

    Working...