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 d7fedc3 commit 49c37fa
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()

db_pass = psdb.where('name = ?', ('zabbix',)).getField('password')
# nginx配置
content = mw.readFile(zs_src_tpl)
content = content.replace('{$ZABBIX_PORT}', getMySQLPort())
Expand Down

0 comments on commit 49c37fa

Please sign in to comment.