diff --git a/zabbix_scripts/check_pve_sudo b/zabbix_scripts/check_pve_sudo index 7f03002..8349d9d 100644 --- a/zabbix_scripts/check_pve_sudo +++ b/zabbix_scripts/check_pve_sudo @@ -8,7 +8,7 @@ use File::Which; use Data::Dumper; my $pvesh = which('pvesh'); -my $json; +my $json = {}; my $pretty = 0; my ($cluster,$guest,$node,$storage,$pool) = undef;