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:
but one type of switches is HPE 5820X and i want to exclude them from this trigger.
i`v tried this:
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.
any idea?
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()}
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")
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"