27 |
|
# mySQL configuration |
28 |
|
config.mySQL=mySQL.conf |
29 |
|
|
30 |
+ |
############################################################ |
31 |
+ |
#### Misc system-wide configuration |
32 |
+ |
############################################################ |
33 |
|
|
34 |
+ |
# the time (in seconds) that checks should be made for |
35 |
+ |
# changes in configuration |
36 |
+ |
ConfigurationProxy.updateTime=60 |
37 |
|
|
38 |
+ |
# The time interval at which the Queue's should be monitored |
39 |
+ |
Queue.MonitorInterval=15 |
40 |
+ |
|
41 |
+ |
|
42 |
+ |
|
43 |
|
############################################################ |
44 |
|
#### FilterManager configuration |
45 |
|
############################################################ |
94 |
|
############################################################ |
95 |
|
|
96 |
|
# The default filter for a new host |
97 |
< |
Host.filter=computingFilter |
97 |
> |
Host.filter=filter1; |
98 |
|
|
99 |
|
# The default update times for a new host |
100 |
|
Host.UDPUpdateTime=10 |
103 |
|
|
104 |
|
# The services checks to run on a host |
105 |
|
Host.serviceChecksPackage=uk.ac.ukc.iscream.filter.plugins |
106 |
< |
Host.serviceChecks=HTTP;SMTP |
106 |
> |
Host.serviceChecks=HTTP;SMTP;POP3;SSH;FTP;IMAP;Telnet |
107 |
|
|
108 |
|
|
109 |
|
|
99 |
– |
# The time interval at which the Queue's should be monitored |
100 |
– |
Queue.MonitorInterval=15 |
101 |
– |
|
102 |
– |
|
103 |
– |
|
110 |
|
############################################################ |
111 |
|
#### Monitor Configuration |
112 |
|
############################################################ |
113 |
|
|
114 |
|
# the monitors to run |
115 |
|
Monitor.PluginsPackage=uk.ac.ukc.iscream.client.monitors |
116 |
< |
Monitor.Plugins=CPU; |
116 |
> |
Monitor.Plugins=CPU;Disk;Memory;Swap;Heartbeat;WebFeeder; |
117 |
|
|
112 |
– |
# CPU monitor configuration |
113 |
– |
Monitor.CPU.level.1=90 |
114 |
– |
Monitor.CPU.level.2=95 |
115 |
– |
Monitor.CPU.level.3=100 |
118 |
|
|
119 |
+ |
## CPU monitor configuration |
120 |
+ |
# threshold values |
121 |
+ |
# |
122 |
+ |
# note: if the UPPER threshold is broken, |
123 |
+ |
# the alertTimeout values are halved. |
124 |
+ |
# This is to escalate the alert quicker. |
125 |
+ |
Monitor.CPU.threshold.LOWER=90 |
126 |
+ |
Monitor.CPU.threshold.UPPER=99 |
127 |
|
|
128 |
+ |
# timings of the alerts (in seconds) |
129 |
+ |
Monitor.CPU.alertTimeout.NOTICE=60 |
130 |
+ |
Monitor.CPU.alertTimeout.WARNING=900 |
131 |
+ |
Monitor.CPU.alertTimeout.CAUTION=1800 |
132 |
+ |
Monitor.CPU.alertTimeout.CRITICAL=3600 |
133 |
|
|
134 |
+ |
|
135 |
+ |
## Memory monitor configuration |
136 |
+ |
# threshold values |
137 |
+ |
# |
138 |
+ |
# note: if the UPPER threshold is broken, |
139 |
+ |
# the alertTimeout values are halved. |
140 |
+ |
# This is to escalate the alert quicker. |
141 |
+ |
Monitor.Memory.threshold.LOWER=80 |
142 |
+ |
Monitor.Memory.threshold.UPPER=90 |
143 |
+ |
|
144 |
+ |
# timings of the alerts (in seconds) |
145 |
+ |
Monitor.Memory.alertTimeout.NOTICE=60 |
146 |
+ |
Monitor.Memory.alertTimeout.WARNING=900 |
147 |
+ |
Monitor.Memory.alertTimeout.CAUTION=1800 |
148 |
+ |
Monitor.Memory.alertTimeout.CRITICAL=3600 |
149 |
+ |
|
150 |
+ |
|
151 |
+ |
## Swap monitor configuration |
152 |
+ |
# threshold values |
153 |
+ |
# |
154 |
+ |
# note: if the UPPER threshold is broken, |
155 |
+ |
# the alertTimeout values are halved. |
156 |
+ |
# This is to escalate the alert quicker. |
157 |
+ |
Monitor.Swap.threshold.LOWER=80 |
158 |
+ |
Monitor.Swap.threshold.UPPER=90 |
159 |
+ |
|
160 |
+ |
# timings of the alerts (in seconds) |
161 |
+ |
Monitor.Swap.alertTimeout.NOTICE=60 |
162 |
+ |
Monitor.Swap.alertTimeout.WARNING=900 |
163 |
+ |
Monitor.Swap.alertTimeout.CAUTION=1800 |
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 |
+ |
## Heartbeat monitor configuration |
184 |
+ |
# threshold values |
185 |
+ |
# |
186 |
+ |
# note: if the UPPER threshold is broken, |
187 |
+ |
# the alertTimeout values are halved. |
188 |
+ |
# This is to escalate the alert quicker. |
189 |
+ |
Monitor.Heartbeat.checkPeriod=50 |
190 |
+ |
# these are values in seconds from when the heartbeat |
191 |
+ |
# was *expected* to arrive (ie. last + hearbeat period) |
192 |
+ |
Monitor.Heartbeat.threshold.LOWER=120 |
193 |
+ |
Monitor.Heartbeat.threshold.LOWER=300 |
194 |
+ |
|
195 |
+ |
# timings of the alerts (in seconds) |
196 |
+ |
Monitor.Heartbeat.alertTimeout.NOTICE=60 |
197 |
+ |
Monitor.Heartbeat.alertTimeout.WARNING=900 |
198 |
+ |
Monitor.Heartbeat.alertTimeout.CAUTION=1800 |
199 |
+ |
Monitor.Heartbeat.alertTimeout.CRITICAL=3600 |
200 |
+ |
|
201 |
+ |
# this means it will reach a FINAL level, |
202 |
+ |
# and thus the host will be removed from the monitor list, |
203 |
+ |
# if the highest level alert is reached and occours this |
204 |
+ |
# number of times. |
205 |
+ |
# |
206 |
+ |
# int this setup, that means 5 CRITICAL alerts would occour |
207 |
+ |
# on a Heartbeat before reaching FINAL. |
208 |
+ |
# If this value is wrong or not present, FINAL is never reached |
209 |
+ |
# |
210 |
+ |
Monitor.Heartbeat.reachFINALcount=5 |
211 |
+ |
|
212 |
|
############################################################ |
213 |
|
#### Alerter Configuration |
214 |
|
############################################################ |
215 |
+ |
# The following var's are understood by ALL alerters for messages |
216 |
+ |
# |
217 |
+ |
# %level% - the alert level (eg, WARNING) |
218 |
+ |
# %threshold% - the threshold broken (eg, LOWER) |
219 |
+ |
# %source% - the source of the alert (eg, raptor.ukc.ac.uk) |
220 |
+ |
# %value% - the value reached (eg, 95) |
221 |
+ |
# %thresholdValue% - the value of the threshold broken (eg, 90) |
222 |
+ |
# %attributeName% - the attribute that has caused the alert (eg, CPU User) |
223 |
+ |
# %timeTillNextAlert% - the time the next alert will be sent out |
224 |
+ |
# %timeSinceFirstAlert% - the time elapsed since the first alert for this problem |
225 |
+ |
# %timeOfFirstAlert% - the time the first alert was sent |
226 |
+ |
# |
227 |
|
|
228 |
|
# alerters to run |
229 |
|
Alerter.PluginsPackage=uk.ac.ukc.iscream.client.alerters |
230 |
< |
Alerter.Plugins=EMail;IRC; |
230 |
> |
Alerter.Plugins=EMail;IRC;WebFeeder; |
231 |
|
|
232 |
|
# EMail alerter configuration |
233 |
< |
Alerter.EMail.level = 2 |
234 |
< |
Alerter.EMail.destList = dev@i-scream.org.uk |
233 |
> |
Alerter.EMail.level = CAUTION |
234 |
> |
Alerter.EMail.defaultDestList = dev@i-scream.org.uk |
235 |
|
Alerter.EMail.sender = dev@i-scream.org.uk |
236 |
|
Alerter.EMail.smtpServer = mercury.ukc.ac.uk |
237 |
< |
Alerter.EMail.subject = i-scream alert: level %level% alert on %source for %attributeName% |
238 |
< |
Alerter.EMail.message = The i-scream distributed central monitoring system has\nraised a level %level% alert for the host %source%.\n\nThe value for %attributeName% of %value% has exceeded the\nthreshold value of %thresholdValue%. |
237 |
> |
Alerter.EMail.subject = i-scream alert: %level% alert on %source% for %attributeName% |
238 |
> |
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%. |
239 |
|
|
240 |
|
# IRC alerter configuration |
241 |
< |
Alerter.IRC.level = 0 |
241 |
> |
Alerter.IRC.level = OK |
242 |
|
Alerter.IRC.IRCServer = killigrew.ukc.ac.uk |
243 |
|
Alerter.IRC.IRCPort = 6667 |
244 |
< |
Alerter.IRC.nick = iscreamBot |
244 |
> |
Alerter.IRC.nickList = iscreamBot;_iscreamBot;i-screamBot |
245 |
> |
Alerter.IRC.user = i-scream |
246 |
> |
Alerter.IRC.comment = i-scream alerting bot |
247 |
|
Alerter.IRC.channel = #i-scream |
248 |
< |
Alerter.IRC.message = level %level%: %attributeName% on %source% has reached %value% |
248 |
> |
Alerter.IRC.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% - time till next alert (should one occur), %timeTillNextAlert% |
249 |
> |
Alerter.IRC.reconnectDelay = 30 |
250 |
> |
Alerter.IRC.startupNotice = i-scream alerting bot activated |
251 |
> |
Alerter.IRC.stopCommand = stop alerts |
252 |
> |
Alerter.IRC.startCommand = start alerts |
253 |
> |
Alerter.IRC.lastAlertCommand = last alert |
254 |
> |
Alerter.IRC.joinCommand = join |
255 |
> |
Alerter.IRC.nickChangeCommand = nick |
256 |
> |
Alerter.IRC.statCommand = statistics |
257 |
> |
Alerter.IRC.uptimeCommand = uptime |
258 |
> |
Alerter.IRC.timeSinceLastAlertCommand = time since last alert |
259 |
> |
Alerter.IRC.versionCommand = version |
260 |
> |
Alerter.IRC.helpCommand = help |
261 |
> |
Alerter.IRC.rejectMessage = sorry, I don't understand your request |
262 |
|
|
263 |
|
############################################################ |
264 |
+ |
#### WebFeeder Configuration |
265 |
+ |
############################################################ |
266 |
+ |
|
267 |
+ |
# Define these (one or both_ to turn on the WebFeeder's, |
268 |
+ |
# comment it to turn them off |
269 |
+ |
WebFeeder.latestActive = true |
270 |
+ |
WebFeeder.alertActive = true |
271 |
+ |
|
272 |
+ |
# Root Path |
273 |
+ |
WebFeeder.rootPath = /usr/local/proj/co600_10/webroot |
274 |
+ |
|
275 |
+ |
# Latest Data |
276 |
+ |
WebFeeder.latestSubDir = latest |
277 |
+ |
WebFeeder.latestFileName = latest_data |
278 |
+ |
|
279 |
+ |
# Alert Data |
280 |
+ |
WebFeeder.alertSubDir = alert |
281 |
+ |
WebFeeder.alertFileName = alert_data |
282 |
+ |
|
283 |
+ |
############################################################ |
284 |
+ |
|