From dec361914d2c51be91c63d0601773187592b4d13 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 28 May 2018 17:51:31 +0200 Subject: [PATCH] Fix macro name for zfs zpool discovery --- 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 f9d0ce2..54d3ff7 100644 --- a/zabbix_scripts/disco_zfs +++ b/zabbix_scripts/disco_zfs @@ -12,7 +12,7 @@ my $zpool = which('zpool'); if ($zpool){ foreach (qx($zpool list -H -o name)){ chomp; - push @{$json->{data}}, { ZPOOL => $_ }; + push @{$json->{data}}, { '{#ZPOOL}' => $_ }; } } print to_json($json);