From 242ff18d5376814be888039cc47a2a5baa6f0d38 Mon Sep 17 00:00:00 2001 From: Viacheslav Bulynkin <56349712+v-bulynkin@users.noreply.github.com> Date: Thu, 28 Apr 2022 15:38:21 +0300 Subject: [PATCH 1/2] Removed positional macros from item name https://www.zabbix.com/documentation/4.0/en/manual/installation/upgrade_notes_400#deprecated-macros-in-item-names --- .../Firewall/template_fail2ban/6.0/template_fail2ban.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Firewall/template_fail2ban/6.0/template_fail2ban.yaml b/Applications/Firewall/template_fail2ban/6.0/template_fail2ban.yaml index 9c3cbae73..af69ea6be 100644 --- a/Applications/Firewall/template_fail2ban/6.0/template_fail2ban.yaml +++ b/Applications/Firewall/template_fail2ban/6.0/template_fail2ban.yaml @@ -76,7 +76,7 @@ zabbix_export: item_prototypes: - uuid: 8cc0b05211fc4278b2feb46727a4ca97 - name: 'Fail2ban $1 banned IPs' + name: 'Fail2ban {#JAIL} banned IPs' key: 'fail2ban.status[{#JAIL}]' delay: '60' units: count From 97beaf4ee129859e74130a0af0fb2316413b91fc Mon Sep 17 00:00:00 2001 From: Viacheslav Bulynkin <56349712+v-bulynkin@users.noreply.github.com> Date: Thu, 28 Apr 2022 15:39:31 +0300 Subject: [PATCH 2/2] Removed positional macros from item name https://www.zabbix.com/documentation/4.0/en/manual/installation/upgrade_notes_400#deprecated-macros-in-item-names --- .../Firewall/template_fail2ban/5.4/template_fail2ban.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Firewall/template_fail2ban/5.4/template_fail2ban.yaml b/Applications/Firewall/template_fail2ban/5.4/template_fail2ban.yaml index 93181b203..a75e60683 100644 --- a/Applications/Firewall/template_fail2ban/5.4/template_fail2ban.yaml +++ b/Applications/Firewall/template_fail2ban/5.4/template_fail2ban.yaml @@ -76,7 +76,7 @@ zabbix_export: item_prototypes: - uuid: 8cc0b05211fc4278b2feb46727a4ca97 - name: 'Fail2ban $1 banned IPs' + name: 'Fail2ban {#JAIL} banned IPs' key: 'fail2ban.status[{#JAIL}]' delay: '60' units: count