Fix var name in check_zimbra_sudo

tags/zabbix-agent-addons-0.2.79-0.beta2
Daniel Berteaud 5 years ago
parent 007b2f5ea5
commit bb9a07d0c0
  1. 2
      zabbix_scripts/check_zimbra_sudo

@ -49,7 +49,7 @@ if (defined $status){
$output->{$1} = ($2 eq 'Running') ? 1 : 0;
}
}
if ($service eq 'all'){
if ($status eq 'all'){
print to_json($output, { pretty => $pretty });
} elsif (defined $output->{$status}){
print $output->{$status}

Loading…
Cancel
Save