local _M = {} -- datacenter postgresql主数据库的配置 local m_postgres = {} m_postgres['host'] = "18.221.221.161" m_postgres['port'] = 35012 m_postgres['database'] = "sysmanager" m_postgres['user'] = "postgres" m_postgres['password'] = "CSv3PG.One!!!" _M['m_postgres'] = m_postgres -- datacenter postgresql从数据库的配置 local s_postgres = {} s_postgres['host'] = "18.221.221.161" s_postgres['port'] = 35012 s_postgres['database'] = "sysmanager" s_postgres['user'] = "postgres" s_postgres['password'] = "CSv3PG.One!!!" _M['s_postgres'] = s_postgres -- 用户上报请求链接 _M['lslb_report_url'] = "http://18.221.221.161:8055/DataCollect" -- lslb异常上报请求连接 _M['lslb_report_exp_url'] = "http://18.221.221.161:8055/DataCollect/live/exception" -- vlss最大链接数据的阈值比例 _M['vlss_conn_percent'] = 0.9 -- 最大上行带宽的额定比例 _M['bandwidth_percent'] = 0.9 -- safe_code _M['safe_code'] = "##svi&&lslb##" -- 与lslb交互des的密钥,必须是8位 _M['safe_key'] = "==RiXVKU" -- dns服务器解析服务配置文件信息路径 -- 如: /etc/resolv.dnsmasq.conf _M['resolver_path'] = "/etc/resolv.dnsmasq.conf" -- 配置本机slb的host,没有域名[ip:port]形式表示 -- 有域名则是[域名:port]形式表示 -- 如: 127.0.0.1:8080 -- www.host.com:8080 _M['slb_host'] = "lslb.cdn3.pro.pioas.com:18081" return _M