Skip to content

Commit

Permalink
Update index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jul 15, 2024
1 parent 9496968 commit 1f723ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/zabbix/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def getPidFile():
return tmp.groups()[0].strip()

def status():
cmd = "ps aux|grep zabbix-server |grep -v grep | grep -v python | grep -v mdserver-web | awk '{print $2}'"
cmd = "ps aux|grep zabbix_server |grep -v grep | grep -v python | grep -v mdserver-web | awk '{print $2}'"
data = mw.execShell(cmd)
if data[0] == '':
return 'stop'
Expand Down

0 comments on commit 1f723ab

Please sign in to comment.