diff --git a/plugins/zabbix_agent/index.py b/plugins/zabbix_agent/index.py index 5947aefd9..513d68f35 100755 --- a/plugins/zabbix_agent/index.py +++ b/plugins/zabbix_agent/index.py @@ -71,7 +71,7 @@ def getPidFile(): return tmp.groups()[0].strip() def status(): - cmd = "ps aux|grep zabbix-agent |grep -v grep | grep -v python | grep -v mdserver-web | awk '{print $2}'" + cmd = "ps aux|grep zabbix_agentd |grep -v grep | grep -v python | grep -v mdserver-web | awk '{print $2}'" data = mw.execShell(cmd) if data[0] == '': return 'stop'