| 69 |
|
Filter.TCPListenPort=4589 |
| 70 |
|
|
| 71 |
|
# Plugin Information |
| 72 |
< |
Filter.PluginsPackage=uk.org.iscream.filter.plugins |
| 72 |
> |
Filter.PluginsPackage=uk.org.iscream.cms.server.filter.plugins |
| 73 |
|
Filter.Plugins=TypeChecker;EnforceEssentialData |
| 74 |
|
|
| 75 |
|
# The name for the root filter |
| 97 |
|
|
| 98 |
|
# The port for the client interface to listen on |
| 99 |
|
ClientInterface.listenPort=4510 |
| 100 |
+ |
# The name for the client interface |
| 101 |
+ |
ClientInterface.name=realtimeclients |
| 102 |
|
|
| 103 |
|
|
| 104 |
|
|
| 105 |
|
############################################################ |
| 106 |
+ |
#### Database interface configuration |
| 107 |
+ |
############################################################ |
| 108 |
+ |
|
| 109 |
+ |
# The name for the Database interface |
| 110 |
+ |
DBInterface.name=database |
| 111 |
+ |
|
| 112 |
+ |
|
| 113 |
+ |
|
| 114 |
+ |
############################################################ |
| 115 |
|
#### Host Configuration |
| 116 |
|
############################################################ |
| 117 |
|
|
| 121 |
|
# The default update times for a new host |
| 122 |
|
Host.UDPUpdateTime=10 |
| 123 |
|
Host.TCPUpdateTime=60 |
| 113 |
– |
Host.AveragerUpdateTime=5 |
| 124 |
|
|
| 125 |
|
# The services checks to run on a host |
| 126 |
< |
Host.serviceChecksPackage=uk.org.iscream.filter.plugins |
| 126 |
> |
Host.serviceChecksPackage=uk.org.iscream.cms.server.filter.plugins |
| 127 |
|
|
| 128 |
|
|
| 129 |
|
|
| 132 |
|
############################################################ |
| 133 |
|
|
| 134 |
|
## The monitors to run |
| 135 |
< |
Monitor.PluginsPackage=uk.org.iscream.client.monitors |
| 136 |
< |
Monitor.Plugins=CPU;Load;Process;Disk;Memory;Swap;Services;Heartbeat;Queue;WebFeeder; |
| 135 |
> |
Monitor.PluginsPackage=uk.org.iscream.cms.server.client.monitors |
| 136 |
> |
Monitor.Plugins=CPU;Load;Process;Disk;Memory;Swap;Services;\ |
| 137 |
> |
Heartbeat;Queue;UserCount;WebFeeder; |
| 138 |
|
|
| 139 |
|
## Default alert timeouts |
| 140 |
|
# these can be override on a per-monitor basis |
| 176 |
|
Monitor.Swap.threshold.UPPER=90 |
| 177 |
|
|
| 178 |
|
|
| 179 |
+ |
# UserCount monitor threshold values |
| 180 |
+ |
Monitor.UserCount.threshold.LOWER=100 |
| 181 |
+ |
Monitor.UserCount.threshold.UPPER=200 |
| 182 |
+ |
|
| 183 |
+ |
|
| 184 |
|
# Disk monitor threshold values |
| 185 |
|
Monitor.Disk.threshold.LOWER=90 |
| 186 |
|
Monitor.Disk.threshold.UPPER=95 |
| 190 |
|
Monitor.Disk.thresholdMeasure=PERCENTAGE |
| 191 |
|
|
| 192 |
|
|
| 193 |
< |
# Disk monitor threshold values |
| 194 |
< |
Monitor.Queue.threshold.LOWER=90 |
| 195 |
< |
Monitor.Queue.threshold.UPPER=95 |
| 193 |
> |
# Queue monitor threshold values |
| 194 |
> |
Monitor.Queue.threshold.LOWER=50 |
| 195 |
> |
Monitor.Queue.threshold.UPPER=80 |
| 196 |
|
# Thresholds given are PERCENTAGE or VALUE |
| 197 |
|
# where PERCENTAGE is a percentage of disk in use |
| 198 |
|
# and VALUE is an absolute value of space free |
| 214 |
|
# Heartbeat threshold values |
| 215 |
|
# these are values in seconds from when the heartbeat |
| 216 |
|
# was *expected* to arrive (ie. last + hearbeat period) |
| 217 |
< |
Monitor.Heartbeat.threshold.LOWER=120 |
| 217 |
> |
Monitor.Heartbeat.threshold.LOWER=180 |
| 218 |
|
Monitor.Heartbeat.threshold.UPPER=300 |
| 219 |
|
# this is how often we will run a "check" of heartbeats |
| 220 |
< |
Monitor.Heartbeat.checkPeriod=30 |
| 220 |
> |
Monitor.Heartbeat.checkPeriod=50 |
| 221 |
|
# how many times we should be at the highest level before |
| 222 |
|
# we go to a FINAL alert |
| 223 |
|
Monitor.Heartbeat.reachFINALcount=5 |
| 224 |
+ |
# list of hosts we expect to have at startup |
| 225 |
+ |
# this ensures we notice hosts that aren't running, not |
| 226 |
+ |
# just those that have gone down recently. |
| 227 |
+ |
Monitor.Heartbeat.initialHosts=raptor.ukc.ac.uk;myrtle.ukc.ac.uk;kestrel.ukc.ac.uk |
| 228 |
|
|
| 229 |
|
|
| 230 |
|
|
| 245 |
|
# |
| 246 |
|
|
| 247 |
|
# alerters to run |
| 248 |
< |
Alerter.PluginsPackage=uk.org.iscream.client.alerters |
| 249 |
< |
Alerter.Plugins=EMail;IRC;WebFeeder; |
| 248 |
> |
Alerter.PluginsPackage=uk.org.iscream.cms.server.client.alerters |
| 249 |
> |
Alerter.Plugins=EMail;IRC;WebFeeder;Logging; |
| 250 |
|
|
| 251 |
|
|
| 252 |
|
# EMail alerter configuration |
| 264 |
|
Alerter.IRC.IRCPort = 6667 |
| 265 |
|
Alerter.IRC.nickList = iscreamBot;_iscreamBot;i-screamBot |
| 266 |
|
Alerter.IRC.user = i-scream |
| 267 |
< |
Alerter.IRC.comment = i-scream alerting bot |
| 267 |
> |
Alerter.IRC.comment = i-scream alerting bot (based on PircBot) |
| 268 |
> |
Alerter.IRC.finger = i-scream alerting bot (based on PircBot) |
| 269 |
|
Alerter.IRC.channel = #i-scream |
| 270 |
|
Alerter.IRC.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% - time till next alert (should one occur), %timeTillNextAlert% |
| 271 |
|
Alerter.IRC.reconnectDelay = 30 |
| 283 |
|
Alerter.IRC.rejectMessage = sorry, I don't understand your request |
| 284 |
|
|
| 285 |
|
|
| 286 |
+ |
# Logging alerter configuration |
| 287 |
+ |
Alerter.Logging.level = WARNING |
| 288 |
+ |
Alerter.Logging.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% |
| 289 |
|
|
| 290 |
+ |
|
| 291 |
+ |
|
| 292 |
|
############################################################ |
| 293 |
|
#### WebFeeder Configuration |
| 294 |
|
############################################################ |
| 299 |
|
WebFeeder.alertActive = true |
| 300 |
|
|
| 301 |
|
# Only pass on alerts past this level |
| 302 |
< |
WebFeeder.alertLevel = OK |
| 302 |
> |
Alerter.WebFeeder.level = OK |
| 303 |
|
|
| 304 |
|
# Check period in seconds (for cleaning stale/old alerts) |
| 305 |
|
WebFeeder.checkPeriod = 120 |