From 1f723ab8e00ba1a7a63ebc9a55d89f0e0471d034 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 16 Jul 2024 01:44:36 +0800 Subject: [PATCH] Update index.py --- plugins/zabbix/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/zabbix/index.py b/plugins/zabbix/index.py index 16e3dcb9ce..df0ea566ef 100755 --- a/plugins/zabbix/index.py +++ b/plugins/zabbix/index.py @@ -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'