From aa3a5a90c448d229c7a965a1d3098dfdf41a142b Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 19 Jul 2024 19:30:08 +0800 Subject: [PATCH] Update index.py --- plugins/zabbix/index.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/zabbix/index.py b/plugins/zabbix/index.py index f51474dcd..12e2ba36b 100755 --- a/plugins/zabbix/index.py +++ b/plugins/zabbix/index.py @@ -408,9 +408,9 @@ def installPreInspection(): if not os.path.exists(openresty_dir): return '需要安装Openresty插件' - mysql_dir = mw.getServerDir() + "/mysql" - if not os.path.exists(mysql_dir): - return '需要安装MySQL插件,至少8.0!' + # mysql_dir = mw.getServerDir() + "/mysql" + # if not os.path.exists(mysql_dir): + # return '需要安装MySQL插件,至少8.0!' return 'ok'