| 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 |
|
|
| 113 |
|
|
| 114 |
|
# the monitors to run |
| 115 |
|
Monitor.PluginsPackage=uk.ac.ukc.iscream.client.monitors |
| 116 |
< |
Monitor.Plugins=CPU;Memory;Swap;Heartbeat; |
| 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 |
+ |
|
| 204 |
|
## Heartbeat monitor configuration |
| 205 |
|
# threshold values |
| 206 |
|
# |
| 208 |
|
# the alertTimeout values are halved. |
| 209 |
|
# This is to escalate the alert quicker. |
| 210 |
|
Monitor.Heartbeat.checkPeriod=50 |
| 211 |
+ |
# these are values in seconds from when the heartbeat |
| 212 |
+ |
# was *expected* to arrive (ie. last + hearbeat period) |
| 213 |
|
Monitor.Heartbeat.threshold.LOWER=120 |
| 214 |
|
Monitor.Heartbeat.threshold.LOWER=300 |
| 215 |
|
|
| 248 |
|
|
| 249 |
|
# alerters to run |
| 250 |
|
Alerter.PluginsPackage=uk.ac.ukc.iscream.client.alerters |
| 251 |
< |
Alerter.Plugins=EMail;IRC; |
| 251 |
> |
Alerter.Plugins=EMail;IRC;WebFeeder; |
| 252 |
|
|
| 253 |
|
# EMail alerter configuration |
| 254 |
|
Alerter.EMail.level = CAUTION |
| 280 |
|
Alerter.IRC.versionCommand = version |
| 281 |
|
Alerter.IRC.helpCommand = help |
| 282 |
|
Alerter.IRC.rejectMessage = sorry, I don't understand your request |
| 283 |
+ |
|
| 284 |
+ |
############################################################ |
| 285 |
+ |
#### WebFeeder Configuration |
| 286 |
+ |
############################################################ |
| 287 |
+ |
|
| 288 |
+ |
# Define these (one or both_ to turn on the WebFeeder's, |
| 289 |
+ |
# comment it to turn them off |
| 290 |
+ |
WebFeeder.latestActive = true |
| 291 |
+ |
WebFeeder.alertActive = true |
| 292 |
+ |
|
| 293 |
+ |
# Root Path |
| 294 |
+ |
WebFeeder.rootPath = /usr/local/proj/co600_10/webroot |
| 295 |
+ |
|
| 296 |
+ |
# Latest Data |
| 297 |
+ |
WebFeeder.latestSubDir = latest |
| 298 |
+ |
WebFeeder.latestFileName = latest_data |
| 299 |
+ |
|
| 300 |
+ |
# Alert Data |
| 301 |
+ |
WebFeeder.alertSubDir = alert |
| 302 |
+ |
WebFeeder.alertFileName = alert_data |
| 303 |
|
|
| 304 |
|
############################################################ |
| 305 |
|
|