From 5b451e211f56990b07dda7c85fa41a583f162e41 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 20 Jul 2024 02:26:13 +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 26e110ba5..5d2742419 100755 --- a/plugins/zabbix/index.py +++ b/plugins/zabbix/index.py @@ -383,7 +383,7 @@ def initdStatus(): shell_cmd = 'systemctl status zabbix-server | grep loaded | grep "enabled;"' data = mw.execShell(shell_cmd) if data[0] == '': - return 'ok' + return 'fail' return 'ok'