58 |
|
Filter.TCPListenPort=4589 |
59 |
|
|
60 |
|
# Plugin Information |
61 |
< |
Filter.PluginsPackage=uk.ac.ukc.iscream.filter.plugins |
61 |
> |
Filter.PluginsPackage=uk.org.iscream.filter.plugins |
62 |
|
Filter.Plugins=TypeChecker;EnforceEssentialData |
63 |
|
|
64 |
|
# The name for the root filter |
94 |
|
############################################################ |
95 |
|
|
96 |
|
# The default filter for a new host |
97 |
< |
Host.filter=filter1; |
97 |
> |
Host.filter=computingFilter; |
98 |
|
|
99 |
|
# The default update times for a new host |
100 |
|
Host.UDPUpdateTime=10 |
102 |
|
Host.AveragerUpdateTime=5 |
103 |
|
|
104 |
|
# The services checks to run on a host |
105 |
< |
Host.serviceChecksPackage=uk.ac.ukc.iscream.filter.plugins |
105 |
> |
Host.serviceChecksPackage=uk.org.iscream.filter.plugins |
106 |
|
Host.serviceChecks=HTTP;SMTP;POP3;SSH;FTP;IMAP;Telnet |
107 |
|
|
108 |
|
|
112 |
|
############################################################ |
113 |
|
|
114 |
|
# the monitors to run |
115 |
< |
Monitor.PluginsPackage=uk.ac.ukc.iscream.client.monitors |
116 |
< |
Monitor.Plugins=CPU;Memory;Swap;Heartbeat; |
115 |
> |
Monitor.PluginsPackage=uk.org.iscream.client.monitors |
116 |
> |
Monitor.Plugins=CPU;Disk;Memory;Swap;Services;Heartbeat;WebFeeder; |
117 |
|
|
118 |
|
|
119 |
|
## CPU monitor configuration |
164 |
|
Monitor.Swap.alertTimeout.CRITICAL=3600 |
165 |
|
|
166 |
|
|
167 |
+ |
## Disk monitor configuration |
168 |
+ |
# threshold values |
169 |
+ |
# |
170 |
+ |
# note: if the UPPER threshold is broken, |
171 |
+ |
# the alertTimeout values are halved. |
172 |
+ |
# This is to escalate the alert quicker. |
173 |
+ |
Monitor.Disk.threshold.LOWER=80 |
174 |
+ |
Monitor.Disk.threshold.UPPER=90 |
175 |
+ |
|
176 |
+ |
# timings of the alerts (in seconds) |
177 |
+ |
Monitor.Disk.alertTimeout.NOTICE=60 |
178 |
+ |
Monitor.Disk.alertTimeout.WARNING=900 |
179 |
+ |
Monitor.Disk.alertTimeout.CAUTION=1800 |
180 |
+ |
Monitor.Disk.alertTimeout.CRITICAL=3600 |
181 |
+ |
|
182 |
+ |
|
183 |
+ |
## Services monitor configuration |
184 |
+ |
# threshold values |
185 |
+ |
# |
186 |
+ |
# THE SERVICES MONITOR USES A HACK |
187 |
+ |
# WHEREBY IT USES THE SERVICE STATUS |
188 |
+ |
# AS THE THRESHOLD LEVEL. THIS SHOULD |
189 |
+ |
# BE LOOKED AT! |
190 |
+ |
# |
191 |
+ |
# note: if the UPPER threshold is broken, |
192 |
+ |
# the alertTimeout values are halved. |
193 |
+ |
# This is to escalate the alert quicker. |
194 |
+ |
#Monitor.Services.threshold.LOWER=120 |
195 |
+ |
#Monitor.Services.threshold.LOWER=300 |
196 |
+ |
|
197 |
+ |
# timings of the alerts (in seconds) |
198 |
+ |
Monitor.Services.alertTimeout.NOTICE=60 |
199 |
+ |
Monitor.Services.alertTimeout.WARNING=900 |
200 |
+ |
Monitor.Services.alertTimeout.CAUTION=1800 |
201 |
+ |
Monitor.Services.alertTimeout.CRITICAL=3600 |
202 |
+ |
|
203 |
+ |
# Make sure we shut up eventually |
204 |
+ |
Monitor.Services.reachFINALcount=5 |
205 |
+ |
|
206 |
+ |
|
207 |
|
## Heartbeat monitor configuration |
208 |
|
# threshold values |
209 |
|
# |
214 |
|
# these are values in seconds from when the heartbeat |
215 |
|
# was *expected* to arrive (ie. last + hearbeat period) |
216 |
|
Monitor.Heartbeat.threshold.LOWER=120 |
217 |
< |
Monitor.Heartbeat.threshold.LOWER=300 |
217 |
> |
Monitor.Heartbeat.threshold.UPPER=300 |
218 |
|
|
219 |
|
# timings of the alerts (in seconds) |
220 |
|
Monitor.Heartbeat.alertTimeout.NOTICE=60 |
250 |
|
# |
251 |
|
|
252 |
|
# alerters to run |
253 |
< |
Alerter.PluginsPackage=uk.ac.ukc.iscream.client.alerters |
254 |
< |
Alerter.Plugins=EMail;IRC; |
253 |
> |
Alerter.PluginsPackage=uk.org.iscream.client.alerters |
254 |
> |
Alerter.Plugins=EMail;IRC;WebFeeder; |
255 |
|
|
256 |
|
# EMail alerter configuration |
257 |
< |
Alerter.EMail.level = CAUTION |
258 |
< |
Alerter.EMail.defaultDestList = dev@i-scream.org.uk |
257 |
> |
Alerter.EMail.level = WARNING |
258 |
> |
Alerter.EMail.destList = dev@i-scream.org.uk |
259 |
|
Alerter.EMail.sender = dev@i-scream.org.uk |
260 |
|
Alerter.EMail.smtpServer = mercury.ukc.ac.uk |
261 |
|
Alerter.EMail.subject = i-scream alert: %level% alert on %source% for %attributeName% |
262 |
< |
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%. |
262 |
> |
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%. |
263 |
|
|
264 |
+ |
|
265 |
|
# IRC alerter configuration |
266 |
|
Alerter.IRC.level = OK |
267 |
|
Alerter.IRC.IRCServer = killigrew.ukc.ac.uk |
289 |
|
#### WebFeeder Configuration |
290 |
|
############################################################ |
291 |
|
|
292 |
+ |
# Define these (one or both_ to turn on the WebFeeder's, |
293 |
+ |
# comment it to turn them off |
294 |
+ |
WebFeeder.latestActive = true |
295 |
+ |
WebFeeder.alertActive = true |
296 |
+ |
|
297 |
+ |
# Check period in seconds (for cleaning stale/old alerts) |
298 |
+ |
WebFeeder.checkPeriod = 900 |
299 |
+ |
|
300 |
+ |
# Delete alerts older than this, in seconds. |
301 |
+ |
# Files are only check every WebFeeder.checkPeriod seconds. |
302 |
+ |
WebFeeder.alertDeleteOlderThan = 1800 |
303 |
+ |
|
304 |
|
# Root Path |
305 |
|
WebFeeder.rootPath = /usr/local/proj/co600_10/webroot |
306 |
|
|
307 |
|
# Latest Data |
308 |
|
WebFeeder.latestSubDir = latest |
309 |
< |
WebFeeder.latestFileName = latest_dir |
309 |
> |
WebFeeder.latestFileName = latest_data |
310 |
> |
|
311 |
> |
# Alert Data |
312 |
> |
WebFeeder.alertSubDir = alert |
313 |
> |
WebFeeder.alertFileName = alert_data |
314 |
|
|
315 |
|
############################################################ |
316 |
|
|