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)