diff --git a/pandora_agents/unix/plugins/autodiscover b/pandora_agents/unix/plugins/autodiscover index 01b9bd3d96..c47b17c275 100644 --- a/pandora_agents/unix/plugins/autodiscover +++ b/pandora_agents/unix/plugins/autodiscover @@ -74,7 +74,7 @@ def win_service(servicelist, option=False, memcpu=False): def lnx_service(services_list, memcpu=False): """Creates modules for Linux servers""" modules = [] - sysctl = getstatusoutput("command -v systemctl")[0] + sysctl = getstatusoutput("systemd-notify --booted")[0] servic = getstatusoutput("command -v service")[0] for srvc in services_list: status = None