From 0d0f55c8324e12e97d1cd2b516da08f6d71ec277 Mon Sep 17 00:00:00 2001 From: Hedgehog57 <44364616+Hedgehog57@users.noreply.github.com> Date: Fri, 30 Oct 2020 12:52:36 +0300 Subject: [PATCH 1/2] Fix failover trigger expression As of documentation https://www.zabbix.com/documentation/5.0/manual/appendix/triggers/functions change() function result is 0 if strings are equal and 1 if they are not. --- Template_Cisco_ASA_1.1.3.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Template_Cisco_ASA_1.1.3.xml b/Template_Cisco_ASA_1.1.3.xml index 0a106f2..845e9f8 100644 --- a/Template_Cisco_ASA_1.1.3.xml +++ b/Template_Cisco_ASA_1.1.3.xml @@ -142,7 +142,7 @@ TODO (maybe): Interface statistic and more triggers. - {change()}=0 + {change()}=1 NONE {HOST.NAME} Cisco ASA Failover triggered HIGH From f6d2d09a58277f2cc893b925dd6e06c18356c02c Mon Sep 17 00:00:00 2001 From: Hedgehog57 <44364616+Hedgehog57@users.noreply.github.com> Date: Fri, 30 Oct 2020 13:02:16 +0300 Subject: [PATCH 2/2] Fix failover trigger expression As of documentation https://www.zabbix.com/documentation/5.0/manual/appendix/triggers/functions change() function result is 0 if strings are equal and 1 if they are not. --- Template_Cisco_ASA_1.1.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Template_Cisco_ASA_1.1.xml b/Template_Cisco_ASA_1.1.xml index 690a1c9..a4ba6fe 100644 --- a/Template_Cisco_ASA_1.1.xml +++ b/Template_Cisco_ASA_1.1.xml @@ -110,7 +110,7 @@ TODO (maybe): Interface statistic and more triggers. - {change()}=0 + {change()}=1 NONE {HOST.NAME} Cisco ASA Failover triggered HIGH