1 |
tdb |
1.2 |
# This is the default system configuration file |
2 |
|
|
# used by all components of the i-scream system |
3 |
|
|
# |
4 |
|
|
# ALL configuration that uses the centralised |
5 |
|
|
# configuration system has this file as its |
6 |
|
|
# root of configuration |
7 |
|
|
# |
8 |
tdb |
1.36 |
# $Author: tdb1 $ |
9 |
tdb |
1.41 |
# $Id: system.conf,v 1.40 2001/03/16 15:15:27 tdb1 Exp $ |
10 |
ajm |
1.14 |
# |
11 |
|
|
############################################################ |
12 |
|
|
#### Configuration Files & Groups |
13 |
|
|
############################################################ |
14 |
|
|
|
15 |
|
|
# for computing machines |
16 |
tdb |
1.15 |
group.computing=Host.129.12.4.*; |
17 |
tdb |
1.41 |
group.rocks=Host.agate.ukc.ac.uk;Host.arkose.ukc.ac.uk;Host.basalt.ukc.ac.uk;Host.chalk.ukc.ac.uk;\ |
18 |
|
|
Host.chert.ukc.ac.uk;Host.granite.ukc.ac.uk;Host.jade.ukc.ac.uk;Host.jasper.ukc.ac.uk;\ |
19 |
|
|
Host.magnetite.ukc.ac.uk;Host.obsidian.ukc.ac.uk;Host.pumice.ukc.ac.uk;\ |
20 |
|
|
Host.pyrite.ukc.ac.uk;Host.slate.ukc.ac.uk;Host.topaz.ukc.ac.uk; |
21 |
|
|
|
22 |
tdb |
1.15 |
config.computing=computing.conf |
23 |
tdb |
1.41 |
config.rocks=rocks.conf |
24 |
ajm |
1.14 |
|
25 |
|
|
# for library machines |
26 |
tdb |
1.15 |
group.library=Host.129.12.58.*; |
27 |
ajm |
1.14 |
config.library=library.conf |
28 |
|
|
|
29 |
tdb |
1.15 |
# for SSB machines |
30 |
|
|
group.ssb=Host.stue*.ukc.ac.uk; |
31 |
|
|
config.ssb=ssb.conf |
32 |
|
|
|
33 |
ajm |
1.14 |
# mySQL configuration |
34 |
|
|
config.mySQL=mySQL.conf |
35 |
|
|
|
36 |
ajm |
1.16 |
############################################################ |
37 |
|
|
#### Misc system-wide configuration |
38 |
|
|
############################################################ |
39 |
|
|
|
40 |
|
|
# the time (in seconds) that checks should be made for |
41 |
|
|
# changes in configuration |
42 |
|
|
ConfigurationProxy.updateTime=60 |
43 |
|
|
|
44 |
|
|
# The time interval at which the Queue's should be monitored |
45 |
|
|
Queue.MonitorInterval=15 |
46 |
tdb |
1.40 |
# The upper limit for a Queue |
47 |
|
|
Queue.SizeLimit=1000 |
48 |
|
|
# The removal algorithm |
49 |
|
|
Queue.RemoveAlgorithm=FIRST |
50 |
tdb |
1.2 |
|
51 |
ajm |
1.14 |
|
52 |
|
|
############################################################ |
53 |
|
|
#### FilterManager configuration |
54 |
|
|
############################################################ |
55 |
tdb |
1.2 |
|
56 |
|
|
# The default port to listen for new host connections |
57 |
|
|
FilterManager.listenPort=4567 |
58 |
|
|
|
59 |
ajm |
1.14 |
|
60 |
|
|
|
61 |
|
|
############################################################ |
62 |
|
|
#### Filter configuration |
63 |
|
|
############################################################ |
64 |
|
|
|
65 |
tdb |
1.2 |
# The default port for Filter's to listen on |
66 |
|
|
Filter.UDPListenPort=4589 |
67 |
|
|
Filter.TCPListenPort=4589 |
68 |
|
|
|
69 |
ajm |
1.14 |
# Plugin Information |
70 |
tdb |
1.36 |
Filter.PluginsPackage=uk.org.iscream.filter.plugins |
71 |
ajm |
1.14 |
Filter.Plugins=TypeChecker;EnforceEssentialData |
72 |
|
|
|
73 |
tdb |
1.2 |
# The name for the root filter |
74 |
|
|
RootFilter.name=root |
75 |
ajm |
1.14 |
|
76 |
|
|
# The default parent filter (should almost always be the same as Filter.rootFilter) |
77 |
|
|
Filter.parentFilter=root |
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
############################################################ |
82 |
|
|
#### Root filter interfaces configuration |
83 |
|
|
############################################################ |
84 |
|
|
|
85 |
tdb |
1.2 |
# Comment either of these (or delete them) and |
86 |
|
|
# that interface won't be started |
87 |
|
|
RootFilter.realtimeInterfaceName=realtimeclients |
88 |
tdb |
1.6 |
RootFilter.dbInterfaceName=database |
89 |
tdb |
1.2 |
|
90 |
ajm |
1.14 |
|
91 |
|
|
|
92 |
|
|
############################################################ |
93 |
|
|
#### Client interface configuration |
94 |
|
|
############################################################ |
95 |
|
|
|
96 |
tdb |
1.2 |
# The port for the client interface to listen on |
97 |
|
|
ClientInterface.listenPort=4510 |
98 |
|
|
|
99 |
ajm |
1.14 |
|
100 |
|
|
|
101 |
|
|
############################################################ |
102 |
|
|
#### Host Configuration |
103 |
|
|
############################################################ |
104 |
tdb |
1.2 |
|
105 |
|
|
# The default filter for a new host |
106 |
tdb |
1.36 |
Host.filter=computingFilter; |
107 |
tdb |
1.13 |
|
108 |
tdb |
1.2 |
# The default update times for a new host |
109 |
tdb |
1.7 |
Host.UDPUpdateTime=10 |
110 |
tdb |
1.2 |
Host.TCPUpdateTime=60 |
111 |
tdb |
1.15 |
Host.AveragerUpdateTime=5 |
112 |
tdb |
1.2 |
|
113 |
ajm |
1.8 |
# The services checks to run on a host |
114 |
tdb |
1.36 |
Host.serviceChecksPackage=uk.org.iscream.filter.plugins |
115 |
tdb |
1.2 |
|
116 |
ajm |
1.14 |
|
117 |
tdb |
1.12 |
|
118 |
ajm |
1.14 |
############################################################ |
119 |
|
|
#### Monitor Configuration |
120 |
|
|
############################################################ |
121 |
|
|
|
122 |
|
|
# the monitors to run |
123 |
tdb |
1.36 |
Monitor.PluginsPackage=uk.org.iscream.client.monitors |
124 |
tdb |
1.35 |
Monitor.Plugins=CPU;Disk;Memory;Swap;Services;Heartbeat;WebFeeder; |
125 |
tdb |
1.24 |
|
126 |
ajm |
1.14 |
|
127 |
tdb |
1.22 |
## CPU monitor configuration |
128 |
ajm |
1.16 |
# threshold values |
129 |
|
|
# |
130 |
|
|
# note: if the UPPER threshold is broken, |
131 |
|
|
# the alertTimeout values are halved. |
132 |
|
|
# This is to escalate the alert quicker. |
133 |
|
|
Monitor.CPU.threshold.LOWER=90 |
134 |
|
|
Monitor.CPU.threshold.UPPER=99 |
135 |
|
|
|
136 |
|
|
# timings of the alerts (in seconds) |
137 |
|
|
Monitor.CPU.alertTimeout.NOTICE=60 |
138 |
|
|
Monitor.CPU.alertTimeout.WARNING=900 |
139 |
|
|
Monitor.CPU.alertTimeout.CAUTION=1800 |
140 |
|
|
Monitor.CPU.alertTimeout.CRITICAL=3600 |
141 |
tdb |
1.24 |
|
142 |
|
|
|
143 |
|
|
## Memory monitor configuration |
144 |
|
|
# threshold values |
145 |
|
|
# |
146 |
|
|
# note: if the UPPER threshold is broken, |
147 |
|
|
# the alertTimeout values are halved. |
148 |
|
|
# This is to escalate the alert quicker. |
149 |
|
|
Monitor.Memory.threshold.LOWER=80 |
150 |
|
|
Monitor.Memory.threshold.UPPER=90 |
151 |
|
|
|
152 |
|
|
# timings of the alerts (in seconds) |
153 |
|
|
Monitor.Memory.alertTimeout.NOTICE=60 |
154 |
|
|
Monitor.Memory.alertTimeout.WARNING=900 |
155 |
|
|
Monitor.Memory.alertTimeout.CAUTION=1800 |
156 |
|
|
Monitor.Memory.alertTimeout.CRITICAL=3600 |
157 |
|
|
|
158 |
|
|
|
159 |
|
|
## Swap monitor configuration |
160 |
|
|
# threshold values |
161 |
|
|
# |
162 |
|
|
# note: if the UPPER threshold is broken, |
163 |
|
|
# the alertTimeout values are halved. |
164 |
|
|
# This is to escalate the alert quicker. |
165 |
|
|
Monitor.Swap.threshold.LOWER=80 |
166 |
|
|
Monitor.Swap.threshold.UPPER=90 |
167 |
|
|
|
168 |
|
|
# timings of the alerts (in seconds) |
169 |
|
|
Monitor.Swap.alertTimeout.NOTICE=60 |
170 |
|
|
Monitor.Swap.alertTimeout.WARNING=900 |
171 |
|
|
Monitor.Swap.alertTimeout.CAUTION=1800 |
172 |
|
|
Monitor.Swap.alertTimeout.CRITICAL=3600 |
173 |
ajm |
1.33 |
|
174 |
|
|
|
175 |
|
|
## Disk monitor configuration |
176 |
|
|
# threshold values |
177 |
|
|
# |
178 |
|
|
# note: if the UPPER threshold is broken, |
179 |
|
|
# the alertTimeout values are halved. |
180 |
|
|
# This is to escalate the alert quicker. |
181 |
|
|
Monitor.Disk.threshold.LOWER=80 |
182 |
|
|
Monitor.Disk.threshold.UPPER=90 |
183 |
|
|
|
184 |
|
|
# timings of the alerts (in seconds) |
185 |
|
|
Monitor.Disk.alertTimeout.NOTICE=60 |
186 |
|
|
Monitor.Disk.alertTimeout.WARNING=900 |
187 |
|
|
Monitor.Disk.alertTimeout.CAUTION=1800 |
188 |
|
|
Monitor.Disk.alertTimeout.CRITICAL=3600 |
189 |
ajm |
1.34 |
|
190 |
|
|
|
191 |
|
|
## Services monitor configuration |
192 |
|
|
# threshold values |
193 |
|
|
# |
194 |
|
|
# THE SERVICES MONITOR USES A HACK |
195 |
|
|
# WHEREBY IT USES THE SERVICE STATUS |
196 |
|
|
# AS THE THRESHOLD LEVEL. THIS SHOULD |
197 |
|
|
# BE LOOKED AT! |
198 |
|
|
# |
199 |
|
|
# note: if the UPPER threshold is broken, |
200 |
|
|
# the alertTimeout values are halved. |
201 |
|
|
# This is to escalate the alert quicker. |
202 |
|
|
#Monitor.Services.threshold.LOWER=120 |
203 |
|
|
#Monitor.Services.threshold.LOWER=300 |
204 |
|
|
|
205 |
|
|
# timings of the alerts (in seconds) |
206 |
|
|
Monitor.Services.alertTimeout.NOTICE=60 |
207 |
|
|
Monitor.Services.alertTimeout.WARNING=900 |
208 |
|
|
Monitor.Services.alertTimeout.CAUTION=1800 |
209 |
|
|
Monitor.Services.alertTimeout.CRITICAL=3600 |
210 |
tdb |
1.24 |
|
211 |
tdb |
1.38 |
# Make sure we shut up eventually |
212 |
|
|
Monitor.Services.reachFINALcount=5 |
213 |
|
|
|
214 |
ajm |
1.14 |
|
215 |
tdb |
1.22 |
## Heartbeat monitor configuration |
216 |
|
|
# threshold values |
217 |
|
|
# |
218 |
|
|
# note: if the UPPER threshold is broken, |
219 |
|
|
# the alertTimeout values are halved. |
220 |
|
|
# This is to escalate the alert quicker. |
221 |
|
|
Monitor.Heartbeat.checkPeriod=50 |
222 |
tdb |
1.25 |
# these are values in seconds from when the heartbeat |
223 |
|
|
# was *expected* to arrive (ie. last + hearbeat period) |
224 |
tdb |
1.22 |
Monitor.Heartbeat.threshold.LOWER=120 |
225 |
tdb |
1.38 |
Monitor.Heartbeat.threshold.UPPER=300 |
226 |
ajm |
1.14 |
|
227 |
tdb |
1.22 |
# timings of the alerts (in seconds) |
228 |
|
|
Monitor.Heartbeat.alertTimeout.NOTICE=60 |
229 |
|
|
Monitor.Heartbeat.alertTimeout.WARNING=900 |
230 |
|
|
Monitor.Heartbeat.alertTimeout.CAUTION=1800 |
231 |
|
|
Monitor.Heartbeat.alertTimeout.CRITICAL=3600 |
232 |
ajm |
1.14 |
|
233 |
ajm |
1.23 |
# this means it will reach a FINAL level, |
234 |
|
|
# and thus the host will be removed from the monitor list, |
235 |
|
|
# if the highest level alert is reached and occours this |
236 |
|
|
# number of times. |
237 |
|
|
# |
238 |
|
|
# int this setup, that means 5 CRITICAL alerts would occour |
239 |
|
|
# on a Heartbeat before reaching FINAL. |
240 |
|
|
# If this value is wrong or not present, FINAL is never reached |
241 |
|
|
# |
242 |
|
|
Monitor.Heartbeat.reachFINALcount=5 |
243 |
|
|
|
244 |
ajm |
1.14 |
############################################################ |
245 |
|
|
#### Alerter Configuration |
246 |
|
|
############################################################ |
247 |
ajm |
1.23 |
# The following var's are understood by ALL alerters for messages |
248 |
|
|
# |
249 |
|
|
# %level% - the alert level (eg, WARNING) |
250 |
|
|
# %threshold% - the threshold broken (eg, LOWER) |
251 |
|
|
# %source% - the source of the alert (eg, raptor.ukc.ac.uk) |
252 |
|
|
# %value% - the value reached (eg, 95) |
253 |
|
|
# %thresholdValue% - the value of the threshold broken (eg, 90) |
254 |
|
|
# %attributeName% - the attribute that has caused the alert (eg, CPU User) |
255 |
|
|
# %timeTillNextAlert% - the time the next alert will be sent out |
256 |
|
|
# %timeSinceFirstAlert% - the time elapsed since the first alert for this problem |
257 |
|
|
# %timeOfFirstAlert% - the time the first alert was sent |
258 |
|
|
# |
259 |
ajm |
1.14 |
|
260 |
|
|
# alerters to run |
261 |
tdb |
1.36 |
Alerter.PluginsPackage=uk.org.iscream.client.alerters |
262 |
tdb |
1.30 |
Alerter.Plugins=EMail;IRC;WebFeeder; |
263 |
ajm |
1.14 |
|
264 |
|
|
# EMail alerter configuration |
265 |
tdb |
1.38 |
Alerter.EMail.level = WARNING |
266 |
|
|
Alerter.EMail.destList = dev@i-scream.org.uk |
267 |
ajm |
1.14 |
Alerter.EMail.sender = dev@i-scream.org.uk |
268 |
|
|
Alerter.EMail.smtpServer = mercury.ukc.ac.uk |
269 |
ajm |
1.16 |
Alerter.EMail.subject = i-scream alert: %level% alert on %source% for %attributeName% |
270 |
tdb |
1.38 |
Alerter.EMail.message = The i-scream distributed central monitoring system has\nraised a %level% alert for the host %source%.\n\nThe value for %attributeName% of %value% has exceeded the\n%threshold% threshold value of %thresholdValue%.\n\nThis alert was originally raised at %timeOfFirstAlert%,\nwhich was %timeSinceFirstAlert% ago.\n\nThe next alert (should one occur) will be sent in %timeTillNextAlert%. |
271 |
|
|
|
272 |
ajm |
1.14 |
|
273 |
|
|
# IRC alerter configuration |
274 |
ajm |
1.16 |
Alerter.IRC.level = OK |
275 |
ajm |
1.14 |
Alerter.IRC.IRCServer = killigrew.ukc.ac.uk |
276 |
|
|
Alerter.IRC.IRCPort = 6667 |
277 |
tdb |
1.19 |
Alerter.IRC.nickList = iscreamBot;_iscreamBot;i-screamBot |
278 |
tdb |
1.17 |
Alerter.IRC.user = i-scream |
279 |
|
|
Alerter.IRC.comment = i-scream alerting bot |
280 |
ajm |
1.14 |
Alerter.IRC.channel = #i-scream |
281 |
ajm |
1.16 |
Alerter.IRC.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% - time till next alert (should one occur), %timeTillNextAlert% |
282 |
tdb |
1.17 |
Alerter.IRC.reconnectDelay = 30 |
283 |
|
|
Alerter.IRC.startupNotice = i-scream alerting bot activated |
284 |
|
|
Alerter.IRC.stopCommand = stop alerts |
285 |
|
|
Alerter.IRC.startCommand = start alerts |
286 |
|
|
Alerter.IRC.lastAlertCommand = last alert |
287 |
|
|
Alerter.IRC.joinCommand = join |
288 |
tdb |
1.18 |
Alerter.IRC.nickChangeCommand = nick |
289 |
|
|
Alerter.IRC.statCommand = statistics |
290 |
|
|
Alerter.IRC.uptimeCommand = uptime |
291 |
|
|
Alerter.IRC.timeSinceLastAlertCommand = time since last alert |
292 |
tdb |
1.19 |
Alerter.IRC.versionCommand = version |
293 |
tdb |
1.17 |
Alerter.IRC.helpCommand = help |
294 |
|
|
Alerter.IRC.rejectMessage = sorry, I don't understand your request |
295 |
tdb |
1.29 |
|
296 |
|
|
############################################################ |
297 |
|
|
#### WebFeeder Configuration |
298 |
|
|
############################################################ |
299 |
|
|
|
300 |
tdb |
1.32 |
# Define these (one or both_ to turn on the WebFeeder's, |
301 |
|
|
# comment it to turn them off |
302 |
|
|
WebFeeder.latestActive = true |
303 |
|
|
WebFeeder.alertActive = true |
304 |
tdb |
1.37 |
|
305 |
|
|
# Check period in seconds (for cleaning stale/old alerts) |
306 |
tdb |
1.39 |
WebFeeder.checkPeriod = 900 |
307 |
tdb |
1.37 |
|
308 |
|
|
# Delete alerts older than this, in seconds. |
309 |
|
|
# Files are only check every WebFeeder.checkPeriod seconds. |
310 |
tdb |
1.39 |
WebFeeder.alertDeleteOlderThan = 1800 |
311 |
tdb |
1.32 |
|
312 |
tdb |
1.29 |
# Root Path |
313 |
|
|
WebFeeder.rootPath = /usr/local/proj/co600_10/webroot |
314 |
|
|
|
315 |
|
|
# Latest Data |
316 |
|
|
WebFeeder.latestSubDir = latest |
317 |
tdb |
1.31 |
WebFeeder.latestFileName = latest_data |
318 |
tdb |
1.32 |
|
319 |
|
|
# Alert Data |
320 |
|
|
WebFeeder.alertSubDir = alert |
321 |
|
|
WebFeeder.alertFileName = alert_data |
322 |
ajm |
1.16 |
|
323 |
tdb |
1.17 |
############################################################ |
324 |
ajm |
1.16 |
|