Check zmconfigd service status

tags/zabbix-agent-addons-0.2.79-0.beta3
Daniel Berteaud 5 years ago
parent c9851a2b9d
commit 61f56ef30e
  1. 4
      zabbix_scripts/disco_zimbra_sudo

@ -41,6 +41,10 @@ setuid($zimuid) if ($uid ne $zimuid);
setgid($zimgid) if ($gid ne $zimgid);
if ($services){
# zmconfigd is always enabled and should be running
push @{$json}, {
'{#ZM_SERVICE}' => 'zmconfigd'
};
foreach my $service (qx($zmprov getServer $hostname zimbraServiceEnabled)){
if ($service =~ m/^zimbraServiceEnabled:\s+(\w+)/){
push @{$json}, {

Loading…
Cancel
Save