diff options
author | Anton Fayantsev <anton.fayantsev@zabbix.com> | 2021-07-05 08:19:01 +0300 |
---|---|---|
committer | Anton Fayantsev <anton.fayantsev@zabbix.com> | 2021-07-05 08:19:01 +0300 |
commit | 8e2ff0ac5ede1df2052ac5d7007b43ee4ed67994 (patch) | |
tree | 6326e1c9aacdc8d7bced23c318aa00be8d8dc805 /templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml | |
parent | 073dc39a09519314b6f4197e9c266cff65a6d23f (diff) |
.........T [ZBX-19592] revamped trigger illogical expressions
Diffstat (limited to 'templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml')
-rw-r--r-- | templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml b/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml index 00bdbe7524b..2e165283de6 100644 --- a/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml +++ b/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml @@ -77,7 +77,7 @@ zabbix_export: triggers: - uuid: 7d8f92f3c5df4b5091f49e07e50fae44 - expression: '(last(/D-Link DES 7200 SNMP/system.hw.firmware,#1)<>last(/D-Link DES 7200 SNMP/system.hw.firmware,#2))=1 and length(last(/D-Link DES 7200 SNMP/system.hw.firmware))>0' + expression: 'last(/D-Link DES 7200 SNMP/system.hw.firmware,#1)<>last(/D-Link DES 7200 SNMP/system.hw.firmware,#2) and length(last(/D-Link DES 7200 SNMP/system.hw.firmware))>0' name: 'Firmware has changed' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: INFO @@ -152,7 +152,7 @@ zabbix_export: triggers: - uuid: 01ca34ebe7a94ed3b3e5ee8320ebce73 - expression: '(last(/D-Link DES 7200 SNMP/system.sw.os[mySystemSwVersion.0],#1)<>last(/D-Link DES 7200 SNMP/system.sw.os[mySystemSwVersion.0],#2))=1 and length(last(/D-Link DES 7200 SNMP/system.sw.os[mySystemSwVersion.0]))>0' + expression: 'last(/D-Link DES 7200 SNMP/system.sw.os[mySystemSwVersion.0],#1)<>last(/D-Link DES 7200 SNMP/system.sw.os[mySystemSwVersion.0],#2) and length(last(/D-Link DES 7200 SNMP/system.sw.os[mySystemSwVersion.0]))>0' name: 'Operating system description has changed' priority: INFO description: 'Operating system description has changed. Possible reasons that system has been updated or replaced. Ack to close.' |