diff --git a/zabbix_scripts/disco_lvm_sudo b/zabbix_scripts/disco_lvm_sudo index a03ab40..4bcf3f8 100644 --- a/zabbix_scripts/disco_lvm_sudo +++ b/zabbix_scripts/disco_lvm_sudo @@ -8,6 +8,7 @@ my $what = $ARGV[0]; open STDERR, '>/dev/null'; my $json; +@{$json->{data}} = (); if ($what eq "volumes"){ foreach my $group (get_volume_group_list()){