From 61f56ef30e3a670073ab7c699f3559d68139132f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 13 Sep 2019 15:33:52 +0200 Subject: [PATCH] Check zmconfigd service status --- zabbix_scripts/disco_zimbra_sudo | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zabbix_scripts/disco_zimbra_sudo b/zabbix_scripts/disco_zimbra_sudo index 41540c7..907ccd8 100644 --- a/zabbix_scripts/disco_zimbra_sudo +++ b/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}, {