Ad Widget

Collapse

trouble with triggering by snmp string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hobbit
    Junior Member
    • Apr 2016
    • 7

    #1

    trouble with triggering by snmp string

    Hello, i`m trying to exclude one type of switches from trigger, where type of switch is read from snmp OID. (Zabbix 5.0.24)
    this is working:
    Code:
    {T NMS FiberRapid HP SNMPv2:sensor.temp.value[hh3cEntityExtTemperature.{#SNMPINDEX}].last()}
    >
    {T NMS FiberRapid HP SNMPv2:sensor.temp.value[hh3cEntityExtTemperatureThreshold.{#SNMPINDEX}].last()}
    but one type of switches is HPE 5820X and i want to exclude them from this trigger.
    i`v tried this:
    Code:
    ({T NMS FiberRapid HP SNMPv2:sensor.temp.value[hh3cEntityExtTemperature.{#SNMPINDEX}].last()}
    >
    {T NMS FiberRapid HP SNMPv2:sensor.temp.value[hh3cEntityExtTemperatureThreshold.{#SNMPINDEX}].last()})
    and
    ({T NMS FiberRapid HP SNMPv2:1.3.6.1.2.1.47.1.1.1.1.7.2.last()}<>"5820X")
    but this doesnt work, these switches are still triggered.

    OID 1.3.6.1.2.1.47.1.1.1.1.7.2 contains string "5820X", so this looks good.
    Code:
    root@zabbix:~# snmpget -v 2c -c censored 100.117.37.252 1.3.6.1.2.1.47.1.1.1.1.7.2
    iso.3.6.1.2.1.47.1.1.1.1.7.2 = STRING: "5820X"
    any idea?

Working...