diff --git a/plugins/zabbix/index.py b/plugins/zabbix/index.py index 15841359f..87aaf7d5d 100755 --- a/plugins/zabbix/index.py +++ b/plugins/zabbix/index.py @@ -199,11 +199,12 @@ def initZsConf(): mw.writeFile(zs_dst_path, content) def initDreplace(): - # 初始化OP配置 - initOpConf() # 导入MySQL配置 zabbixImportMySQLData() + # 初始化OP配置 + initOpConf() + init_file = getServerDir() + '/init.pl' if not os.path.exists(init_file): initZsConf()