Remove health and capacity sanoid checks from discovery

This is handled by check_zfs anyway
tags/zabbix-agent-addons-0.2.150-1
Daniel Berteaud 3 years ago
parent 2c0ea77e90
commit 360895affb
  1. 2
      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' };
}

Loading…
Cancel
Save