systemRuleConfig.xml
1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="utf-8"?>
<monitor-rules>
<rule id="CPUIdle">
<metric-item monitorAvg="true" metricItemText=".*(?=system_cpuUsage_10)"/>
<config starttime="00:00" endtime="24:00">
<condition minute="1" alertType="warning">
<sub-condition type="MaxVal" text="2"/>
</condition>
<condition minute="1" alertType="error">
<sub-condition type="MaxVal" text="4"/>
</condition>
</config>
</rule>
<rule id="DataUsage">
<metric-item monitorAvg="true" metricItemText=".*(?=system_/data-usage)"/>
<config starttime="00:00" endtime="24:00">
<condition minute="1" alertType="error">
<sub-condition type="MaxVal" text="0.9"/>
</condition>
</config>
</rule>
<rule id="UsrUsage">
<metric-item monitorAvg="true" metricItemText=".*(?=system_/usr-usage)"/>
<config starttime="00:00" endtime="24:00">
<condition minute="1" alertType="error">
<sub-condition type="MaxVal" text="0.9"/>
</condition>
</config>
</rule>
<rule id="VarUsage">
<metric-item monitorAvg="true" metricItemText=".*(?=system_/var-usage)"/>
<config starttime="00:00" endtime="24:00">
<condition minute="1" alertType="error">
<sub-condition type="MaxVal" text="0.9"/>
</condition>
</config>
</rule>
<rule id="CPUIdle_alpha">
<metric-item monitorAvg="true" metricItemText=".*(?=system_cpuUsage_192)"/>
<config starttime="00:00" endtime="24:00">
<condition minute="1" alertType="error">
<sub-condition type="MaxVal" text="4"/>
</condition>
</config>
</rule>
</monitor-rules>