Update index.py

pull/618/head
Mr Chen 10 months ago
parent c03add82a5
commit 24c37d5b92
  1. 5
      plugins/zabbix/index.py

@ -199,11 +199,12 @@ def initZsConf():
mw.writeFile(zs_dst_path, content) mw.writeFile(zs_dst_path, content)
def initDreplace(): def initDreplace():
# 初始化OP配置
initOpConf()
# 导入MySQL配置 # 导入MySQL配置
zabbixImportMySQLData() zabbixImportMySQLData()
# 初始化OP配置
initOpConf()
init_file = getServerDir() + '/init.pl' init_file = getServerDir() + '/init.pl'
if not os.path.exists(init_file): if not os.path.exists(init_file):
initZsConf() initZsConf()

Loading…
Cancel
Save