From 49c37fa3079db0c7ec6c515459188c9bfee1d2f8 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 16 Jul 2024 02:01:44 +0800 Subject: [PATCH] Update index.py --- plugins/zabbix/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/zabbix/index.py b/plugins/zabbix/index.py index 1ce3f30021..b96e445a12 100755 --- a/plugins/zabbix/index.py +++ b/plugins/zabbix/index.py @@ -209,6 +209,7 @@ def initZsConf(): zs_src_tpl = getPluginDir()+'/conf/zabbix_server.conf' zs_dst_path = zabbixServerConf() + db_pass = psdb.where('name = ?', ('zabbix',)).getField('password') # nginx配置 content = mw.readFile(zs_src_tpl) content = content.replace('{$ZABBIX_PORT}', getMySQLPort())