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);