eis/config/conf/ServerManagerConfig.xml

24 lines
888 B
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<MonitorConfig>
<!--监控模式1为默认值按照配置文件的Servers监控0为监控平台系统中的所有服务-->
<MonitorMode>1</MonitorMode>
<!--历史数据保存连接字符串 sqlite:$/iPlature/conf/db.db3 目前只支持qlite-->
<DBConnStr>/iPlature/conf/ServerManagerDb.db3</DBConnStr>
<DBType>sqlite</DBType>
<!--保存历史记录的天数-->
<KeepDays>30</KeepDays>
<!--配置应用检测的循环时间(单位s,未配置默认是3s)-->
<CycTime>5</CycTime>
<Servers>
<Server name ="MsgServiceReceive">
<ErrorHandle id="1#2" /><!--以‘#’间隔-->
</Server>
<Server name="APPServer1" >
<ErrorHandle id="1" />
</Server>
<Server name="APPServer2"/>
</Servers>
<ErrorHandles>
<ErrorHandle id ="1" name="服务不存在" handle="请检查配置路径内是否存在该服务的exe文件"/>
<ErrorHandle id ="2" name="调用超时" handle="请检查被调用端是否异常"/>
</ErrorHandles>
</MonitorConfig>