From 360895affbd53d46db2a932bcb2a242cc99b5304 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 9 Jun 2021 18:22:32 +0200 Subject: [PATCH] Remove health and capacity sanoid checks from discovery This is handled by check_zfs anyway --- zabbix_scripts/disco_zfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbix_scripts/disco_zfs b/zabbix_scripts/disco_zfs index f5bb56d..761000d 100644 --- a/zabbix_scripts/disco_zfs +++ b/zabbix_scripts/disco_zfs @@ -70,7 +70,7 @@ if ($pools){ push @{$json->{data}}, { '{#ZFS_SNAP}' => $_ }; } } elsif ($sanoidmon){ - push @{$json->{data}}, { '{#ZFS_SANOID}' => $_ } foreach (qw(snapshot capacity health)); + push @{$json->{data}}, { '{#ZFS_SANOID}' => $_ } foreach (qw(snapshot)); } elsif ($arcstats){ push @{$json->{data}}, { '{#ZFS_STATS}' => 'arcstats' }; }