From f11b1b32194309a58cacf8de58ea09ccfc191a6d Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 16 Jul 2024 02:02:28 +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 b96e445a12..33030f8e32 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() + psdb = pSqliteDb('databases') db_pass = psdb.where('name = ?', ('zabbix',)).getField('password') # nginx配置 content = mw.readFile(zs_src_tpl)