From f2616bd1b18a77c72412bff4bbe669b773a4af81 Mon Sep 17 00:00:00 2001 From: Eric Eisenhart Date: Mon, 6 Nov 2023 16:52:28 -0800 Subject: [PATCH 1/2] Updated from Zabbix 4.x to Zabbix 6.x, and added a "failed devices" count and trigger. Template wouldn't import as-is because it specified `trends` on TEXT items. Since it's fairly common for us to have mdraid RAID1 with 3 drives (each partition 2-active, 1-standby), we added a "Failed Devices" count, and a trigger if that > 0. --- Template MD RAID.xml | 744 ++++++++++++++----------------------------- 1 file changed, 231 insertions(+), 513 deletions(-) mode change 100644 => 100755 Template MD RAID.xml diff --git a/Template MD RAID.xml b/Template MD RAID.xml old mode 100644 new mode 100755 index 2a58af9..1d3e60e --- a/Template MD RAID.xml +++ b/Template MD RAID.xml @@ -1,561 +1,279 @@ - 4.0 - 2019-01-16T08:56:24Z - - + 6.4 + + Templates - - + + From a4574ecfbbb09c8c9ea86f8464497070d9d20b91 Mon Sep 17 00:00:00 2001 From: Eric Eisenhart <1577595+eric-eisenhart@users.noreply.github.com> Date: Tue, 7 Nov 2023 09:54:29 -0800 Subject: [PATCH 2/2] Update Template MD RAID.xml Remove internal wiki reference --- Template MD RAID.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Template MD RAID.xml b/Template MD RAID.xml index 1d3e60e..7eeee3b 100755 --- a/Template MD RAID.xml +++ b/Template MD RAID.xml @@ -67,7 +67,7 @@ last(/Template MD RAID/mdraid[{#MD_DEVICE},e,"Failed Devices"])>0 {#MD_DEVICE} Number of Failed Devices AVERAGE - There is a failed disk for a RAID array on this host. Please investigate using https://wiki.noc.sonic.net/display/SD/RAID+array+failure#RAIDarrayfailure-Zabbix%22NumberofFailedDevices%22 + There is a failed disk for a RAID array on this host.