per-agent configuration of batch processors, #71837
[freeside.git] / torrus / xmlconfig / generic / monitors.xml
1 <?xml version="1.0"?>
2 <!--
3    Copyright (C) 2003 Shawn Ferry
4
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2 of the License, or
8    (at your option) any later version.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software
17    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18
19    Shawn Ferry <sferry at sevenspace dot com > <lalartu at obscure dot org>
20
21 $Id $
22
23 -->
24 <configuration>
25   <monitors>
26
27     <!-- Actions -->
28     <action name="graph-hw-failures">
29       <param name="action-type" value="tset" />
30       <param name="tset-name" value="hw-failures" />
31     </action>
32
33     <action name="graph-Violations">
34       <param name="action-type" value="tset" />
35       <param name="tset-name" value="Violations" />
36     </action>
37
38     <!-- Monitors -->
39     <monitor name="hw-failures">
40       <param name="monitor-type" value="failures" />
41       <param name="action" value="graph-hw-failures" />
42       <param name="expires" value="3600" />
43     </monitor>
44
45     <monitor name="fail_eq">
46       <param name="monitor-type" value="expression"/>
47       <param name="rpn-expr" value="#fail,EQ"/>
48       <param name="action" value="graph-Violations"/>
49       <param name="expires" value="86400"/>
50     </monitor>
51
52     <monitor name="fail_lt">
53       <param name="monitor-type" value="expression"/>
54       <param name="rpn-expr" value="#fail,LT"/>
55       <param name="action" value="graph-Violations"/>
56       <param name="expires" value="86400"/>
57     </monitor>
58
59     <monitor name="fail_le">
60       <param name="monitor-type" value="expression"/>
61       <param name="rpn-expr" value="#fail,LE"/>
62       <param name="action" value="graph-Violations"/>
63       <param name="expires" value="86400"/>
64     </monitor>
65
66     <monitor name="fail_gt">
67       <param name="monitor-type" value="expression"/>
68       <param name="rpn-expr" value="#fail,GT"/>
69       <param name="action" value="graph-Violations"/>
70       <param name="expires" value="86400"/>
71     </monitor>
72
73     <monitor name="fail_ge">
74       <param name="monitor-type" value="expression"/>
75       <param name="rpn-expr" value="#fail,GE"/>
76       <param name="action" value="graph-Violations"/>
77       <param name="expires" value="86400"/>
78     </monitor>
79
80   </monitors>
81
82   <!-- Tokensets -->
83   <token-sets>
84     <param name="default-tset-view" value="default-tset-html" />
85     <param name="default-tsetlist-view" value="tset-list-html" />
86
87     <token-set name="hw-failures">
88       <param name="comment" value="HW Prediction Violations"/>
89     </token-set>
90
91     <token-set name="Violations">
92       <param name="comment" value="Monitor Violations"/>
93     </token-set>
94
95   </token-sets>
96
97 </configuration>