24 lines
888 B
XML
24 lines
888 B
XML
<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> |