14 |
|
|
15 |
|
# for computing machines |
16 |
|
group.computing=Host.129.12.4.*; |
17 |
+ |
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 |
+ |
group.compsoc=Host.compsoc1.ukc.ac.uk |
22 |
+ |
|
23 |
|
config.computing=computing.conf |
24 |
+ |
config.rocks=rocks.conf |
25 |
+ |
config.compsoc1=rocks.conf |
26 |
|
|
27 |
|
# for library machines |
28 |
|
group.library=Host.129.12.58.*; |
45 |
|
|
46 |
|
# The time interval at which the Queue's should be monitored |
47 |
|
Queue.MonitorInterval=15 |
48 |
+ |
# The upper limit for a Queue |
49 |
+ |
Queue.SizeLimit=1000 |
50 |
+ |
# The removal algorithm |
51 |
+ |
Queue.RemoveAlgorithm=FIRST |
52 |
|
|
53 |
|
|
42 |
– |
|
54 |
|
############################################################ |
55 |
|
#### FilterManager configuration |
56 |
|
############################################################ |
69 |
|
Filter.TCPListenPort=4589 |
70 |
|
|
71 |
|
# Plugin Information |
72 |
< |
Filter.PluginsPackage=uk.ac.ukc.iscream.filter.plugins |
72 |
> |
Filter.PluginsPackage=uk.org.iscream.filter.plugins |
73 |
|
Filter.Plugins=TypeChecker;EnforceEssentialData |
74 |
|
|
75 |
|
# The name for the root filter |
105 |
|
############################################################ |
106 |
|
|
107 |
|
# The default filter for a new host |
108 |
< |
Host.filter=filter1; |
108 |
> |
Host.filter=computingFilter; |
109 |
|
|
110 |
|
# The default update times for a new host |
111 |
|
Host.UDPUpdateTime=10 |
113 |
|
Host.AveragerUpdateTime=5 |
114 |
|
|
115 |
|
# The services checks to run on a host |
116 |
< |
Host.serviceChecksPackage=uk.ac.ukc.iscream.filter.plugins |
106 |
< |
Host.serviceChecks=HTTP;SMTP |
116 |
> |
Host.serviceChecksPackage=uk.org.iscream.filter.plugins |
117 |
|
|
118 |
|
|
119 |
|
|
122 |
|
############################################################ |
123 |
|
|
124 |
|
# the monitors to run |
125 |
< |
Monitor.PluginsPackage=uk.ac.ukc.iscream.client.monitors |
126 |
< |
Monitor.Plugins=CPU;Memory;Swap;Heartbeat; |
125 |
> |
Monitor.PluginsPackage=uk.org.iscream.client.monitors |
126 |
> |
Monitor.Plugins=CPU;Disk;Memory;Swap;Services;Heartbeat;WebFeeder; |
127 |
> |
#Monitor.Plugins=CPU;WebFeeder; |
128 |
> |
#Monitor.Plugins= |
129 |
|
|
130 |
|
|
131 |
|
## CPU monitor configuration |
176 |
|
Monitor.Swap.alertTimeout.CRITICAL=3600 |
177 |
|
|
178 |
|
|
179 |
+ |
## Disk monitor configuration |
180 |
+ |
# threshold values |
181 |
+ |
# |
182 |
+ |
# note: if the UPPER threshold is broken, |
183 |
+ |
# the alertTimeout values are halved. |
184 |
+ |
# This is to escalate the alert quicker. |
185 |
+ |
Monitor.Disk.threshold.LOWER=90 |
186 |
+ |
Monitor.Disk.threshold.UPPER=95 |
187 |
+ |
|
188 |
+ |
# timings of the alerts (in seconds) |
189 |
+ |
Monitor.Disk.alertTimeout.NOTICE=60 |
190 |
+ |
Monitor.Disk.alertTimeout.WARNING=900 |
191 |
+ |
Monitor.Disk.alertTimeout.CAUTION=1800 |
192 |
+ |
Monitor.Disk.alertTimeout.CRITICAL=3600 |
193 |
+ |
|
194 |
+ |
|
195 |
+ |
## Services monitor configuration |
196 |
+ |
# threshold values |
197 |
+ |
# |
198 |
+ |
# THE SERVICES MONITOR USES A HACK |
199 |
+ |
# WHEREBY IT USES THE SERVICE STATUS |
200 |
+ |
# AS THE THRESHOLD LEVEL. THIS SHOULD |
201 |
+ |
# BE LOOKED AT! |
202 |
+ |
# |
203 |
+ |
# note: if the UPPER threshold is broken, |
204 |
+ |
# the alertTimeout values are halved. |
205 |
+ |
# This is to escalate the alert quicker. |
206 |
+ |
#Monitor.Services.threshold.LOWER=120 |
207 |
+ |
#Monitor.Services.threshold.LOWER=300 |
208 |
+ |
|
209 |
+ |
# timings of the alerts (in seconds) |
210 |
+ |
Monitor.Services.alertTimeout.NOTICE=60 |
211 |
+ |
Monitor.Services.alertTimeout.WARNING=900 |
212 |
+ |
Monitor.Services.alertTimeout.CAUTION=1800 |
213 |
+ |
Monitor.Services.alertTimeout.CRITICAL=3600 |
214 |
+ |
|
215 |
+ |
# Make sure we shut up eventually |
216 |
+ |
Monitor.Services.reachFINALcount=5 |
217 |
+ |
|
218 |
+ |
|
219 |
|
## Heartbeat monitor configuration |
220 |
|
# threshold values |
221 |
|
# |
223 |
|
# the alertTimeout values are halved. |
224 |
|
# This is to escalate the alert quicker. |
225 |
|
Monitor.Heartbeat.checkPeriod=50 |
226 |
+ |
# these are values in seconds from when the heartbeat |
227 |
+ |
# was *expected* to arrive (ie. last + hearbeat period) |
228 |
|
Monitor.Heartbeat.threshold.LOWER=120 |
229 |
< |
Monitor.Heartbeat.threshold.LOWER=300 |
229 |
> |
Monitor.Heartbeat.threshold.UPPER=300 |
230 |
|
|
231 |
|
# timings of the alerts (in seconds) |
232 |
|
Monitor.Heartbeat.alertTimeout.NOTICE=60 |
262 |
|
# |
263 |
|
|
264 |
|
# alerters to run |
265 |
< |
Alerter.PluginsPackage=uk.ac.ukc.iscream.client.alerters |
266 |
< |
Alerter.Plugins=EMail;IRC; |
265 |
> |
Alerter.PluginsPackage=uk.org.iscream.client.alerters |
266 |
> |
#Alerter.Plugins=EMail;IRC;WebFeeder; |
267 |
> |
Alerter.Plugins=IRC;WebFeeder; |
268 |
> |
#Alerter.Plugins=WebFeeder; |
269 |
> |
#Alerter.Plugins= |
270 |
|
|
271 |
|
# EMail alerter configuration |
272 |
< |
Alerter.EMail.level = CAUTION |
273 |
< |
Alerter.EMail.defaultDestList = dev@i-scream.org.uk |
272 |
> |
Alerter.EMail.level = WARNING |
273 |
> |
Alerter.EMail.destList = dev@i-scream.org.uk |
274 |
|
Alerter.EMail.sender = dev@i-scream.org.uk |
275 |
|
Alerter.EMail.smtpServer = mercury.ukc.ac.uk |
276 |
|
Alerter.EMail.subject = i-scream alert: %level% alert on %source% for %attributeName% |
277 |
< |
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\nThe next alert (should one occur) will be sent in %timeTillNextAlert%. |
277 |
> |
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%. |
278 |
|
|
279 |
+ |
|
280 |
|
# IRC alerter configuration |
281 |
|
Alerter.IRC.level = OK |
282 |
|
Alerter.IRC.IRCServer = killigrew.ukc.ac.uk |
299 |
|
Alerter.IRC.versionCommand = version |
300 |
|
Alerter.IRC.helpCommand = help |
301 |
|
Alerter.IRC.rejectMessage = sorry, I don't understand your request |
302 |
+ |
|
303 |
+ |
############################################################ |
304 |
+ |
#### WebFeeder Configuration |
305 |
+ |
############################################################ |
306 |
+ |
|
307 |
+ |
# Define these (one or both_ to turn on the WebFeeder's, |
308 |
+ |
# comment it to turn them off |
309 |
+ |
WebFeeder.latestActive = true |
310 |
+ |
WebFeeder.alertActive = true |
311 |
+ |
|
312 |
+ |
# Only pass on alerts past this level |
313 |
+ |
WebFeeder.alertLevel = OK |
314 |
+ |
|
315 |
+ |
# Check period in seconds (for cleaning stale/old alerts) |
316 |
+ |
WebFeeder.checkPeriod = 120 |
317 |
+ |
|
318 |
+ |
# Delete alerts older than this, in seconds. |
319 |
+ |
# Files are only check every WebFeeder.checkPeriod seconds. |
320 |
+ |
WebFeeder.alertDeleteOlderThan = 300 |
321 |
+ |
|
322 |
+ |
# Root Path |
323 |
+ |
WebFeeder.rootPath = /usr/local/proj/co600_10/webroot |
324 |
+ |
|
325 |
+ |
# Latest Data |
326 |
+ |
WebFeeder.latestSubDir = latest |
327 |
+ |
WebFeeder.latestFileName = latest_data |
328 |
+ |
|
329 |
+ |
# Alert Data |
330 |
+ |
WebFeeder.alertSubDir = alert |
331 |
+ |
WebFeeder.alertFileName = alert_data |
332 |
|
|
333 |
|
############################################################ |
334 |
|
|