Update index.py

pull/618/head
Mr Chen 10 months ago
parent 03c5191e89
commit f06b5004e2
  1. 2
      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'

Loading…
Cancel
Save