Skip to content

Commit

Permalink
Update index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jul 15, 2024
1 parent 49c37fa commit f11b1b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/zabbix/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f11b1b3

Please sign in to comment.