Remove debug statement in util_populate_pve_cache

tags/zabbix-agent-addons-0.2.117-1
Daniel Berteaud 5 years ago
parent f252fabc78
commit 4c8ada96a8
  1. 1
      zabbix_scripts/util_populate_pve_cache

@ -22,7 +22,6 @@ foreach my $stor (@{$storages->{data}}){
} }
my $guests = from_json(qx(/var/lib/zabbix/bin/disco_pve_sudo --what=guests)); my $guests = from_json(qx(/var/lib/zabbix/bin/disco_pve_sudo --what=guests));
foreach my $guest (@{$guests->{data}}){ foreach my $guest (@{$guests->{data}}){
print $guest->{'{#PVE_GUEST_ID}'} . "\n";
qx(/var/lib/zabbix/bin/check_pve_sudo --guest=$guest->{'{#PVE_GUEST_ID}'} --cache=120); qx(/var/lib/zabbix/bin/check_pve_sudo --guest=$guest->{'{#PVE_GUEST_ID}'} --cache=120);
} }

Loading…
Cancel
Save