| 50 |
|
# The removal algorithm |
| 51 |
|
Queue.RemoveAlgorithm=FIRST |
| 52 |
|
|
| 53 |
+ |
# the time (in seconds) at which the XMLCache's contents |
| 54 |
+ |
# will be rotated. in real terms, this means the minimum |
| 55 |
+ |
# age at which an XMLPacket can be before it is deleted |
| 56 |
+ |
# from the cache. |
| 57 |
+ |
XMLCache.cleanupPeriod=30 |
| 58 |
|
|
| 59 |
|
############################################################ |
| 60 |
|
#### FilterManager configuration |
| 63 |
|
# The default port to listen for new host connections |
| 64 |
|
FilterManager.listenPort=4567 |
| 65 |
|
|
| 66 |
+ |
# Access control list |
| 67 |
+ |
FilterManager.ACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
| 68 |
|
|
| 69 |
|
|
| 70 |
+ |
|
| 71 |
|
############################################################ |
| 72 |
|
#### Filter configuration |
| 73 |
|
############################################################ |
| 77 |
|
Filter.TCPListenPort=4589 |
| 78 |
|
|
| 79 |
|
# Plugin Information |
| 80 |
< |
Filter.PluginsPackage=uk.org.iscream.filter.plugins |
| 81 |
< |
Filter.Plugins=TypeChecker;EnforceEssentialData |
| 80 |
> |
Filter.PluginsPackage=uk.org.iscream.cms.server.filter.plugins |
| 81 |
> |
Filter.Plugins=TypeChecker;EnforceEssentialData;SourceChecker;KeyChecker |
| 82 |
|
|
| 83 |
|
# The name for the root filter |
| 84 |
|
RootFilter.name=root |
| 86 |
|
# The default parent filter (should almost always be the same as Filter.rootFilter) |
| 87 |
|
Filter.parentFilter=root |
| 88 |
|
|
| 89 |
+ |
# The input methods to activate |
| 90 |
+ |
# (comment or set to 0 to disable) |
| 91 |
+ |
Filter.ActivateTCPReader=1 |
| 92 |
+ |
Filter.ActivateUDPReader=1 |
| 93 |
+ |
Filter.ActivateCORBAReader=1 |
| 94 |
|
|
| 95 |
+ |
# Access control list for the TCP and UDP inputs |
| 96 |
+ |
Filter.TCPACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
| 97 |
+ |
Filter.UDPACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
| 98 |
|
|
| 99 |
+ |
# Access control list for the SourceChecker plugin |
| 100 |
+ |
# - packets not permitted by this ACL will be filtered |
| 101 |
+ |
Filter.SourceCheckerPluginACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
| 102 |
+ |
|
| 103 |
+ |
# Enforce host authentication? |
| 104 |
+ |
# (comment or set to 0 to disable) |
| 105 |
+ |
Filter.EnforceHostAuth=1 |
| 106 |
+ |
|
| 107 |
+ |
# Length of keys to use in authentication |
| 108 |
+ |
Filter.KeyLength=15 |
| 109 |
+ |
|
| 110 |
+ |
|
| 111 |
+ |
|
| 112 |
|
############################################################ |
| 113 |
|
#### Root filter interfaces configuration |
| 114 |
|
############################################################ |
| 129 |
|
# The name for the client interface |
| 130 |
|
ClientInterface.name=realtimeclients |
| 131 |
|
|
| 132 |
+ |
# Access Control List for TCP Clients |
| 133 |
+ |
ClientInterface.TCPControlChannelACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
| 134 |
+ |
ClientInterface.TCPDataChannelACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
| 135 |
|
|
| 136 |
|
|
| 137 |
+ |
|
| 138 |
|
############################################################ |
| 139 |
|
#### Database interface configuration |
| 140 |
|
############################################################ |
| 154 |
|
# The default update times for a new host |
| 155 |
|
Host.UDPUpdateTime=10 |
| 156 |
|
Host.TCPUpdateTime=60 |
| 124 |
– |
Host.AveragerUpdateTime=5 |
| 157 |
|
|
| 158 |
|
# The services checks to run on a host |
| 159 |
< |
Host.serviceChecksPackage=uk.org.iscream.filter.plugins |
| 159 |
> |
Host.serviceChecksPackage=uk.org.iscream.cms.server.filter.plugins |
| 160 |
|
|
| 161 |
|
|
| 162 |
|
|
| 165 |
|
############################################################ |
| 166 |
|
|
| 167 |
|
## The monitors to run |
| 168 |
< |
Monitor.PluginsPackage=uk.org.iscream.client.monitors |
| 168 |
> |
Monitor.PluginsPackage=uk.org.iscream.cms.server.client.monitors |
| 169 |
|
Monitor.Plugins=CPU;Load;Process;Disk;Memory;Swap;Services;\ |
| 170 |
|
Heartbeat;Queue;UserCount;WebFeeder; |
| 171 |
|
|
| 202 |
|
# Memory monitor threshold values |
| 203 |
|
Monitor.Memory.threshold.LOWER=80 |
| 204 |
|
Monitor.Memory.threshold.UPPER=90 |
| 205 |
+ |
# Whether to include 'cache' in the 'free' value |
| 206 |
+ |
# (1 is true, anything else is false) |
| 207 |
+ |
Monitor.Memory.useCacheAsFree=1 |
| 208 |
|
|
| 209 |
|
|
| 210 |
|
# Swap monitor threshold values |
| 226 |
|
Monitor.Disk.thresholdMeasure=PERCENTAGE |
| 227 |
|
|
| 228 |
|
|
| 229 |
< |
# Disk monitor threshold values |
| 229 |
> |
# Queue monitor threshold values |
| 230 |
|
Monitor.Queue.threshold.LOWER=50 |
| 231 |
|
Monitor.Queue.threshold.UPPER=80 |
| 232 |
|
# Thresholds given are PERCENTAGE or VALUE |
| 257 |
|
# how many times we should be at the highest level before |
| 258 |
|
# we go to a FINAL alert |
| 259 |
|
Monitor.Heartbeat.reachFINALcount=5 |
| 260 |
+ |
# list of hosts we expect to have at startup |
| 261 |
+ |
# this ensures we notice hosts that aren't running, not |
| 262 |
+ |
# just those that have gone down recently. |
| 263 |
+ |
Monitor.Heartbeat.initialHosts=raptor.ukc.ac.uk;myrtle.ukc.ac.uk;kestrel.ukc.ac.uk |
| 264 |
|
|
| 265 |
|
|
| 266 |
|
|
| 281 |
|
# |
| 282 |
|
|
| 283 |
|
# alerters to run |
| 284 |
< |
Alerter.PluginsPackage=uk.org.iscream.client.alerters |
| 285 |
< |
Alerter.Plugins=EMail;IRC;WebFeeder; |
| 284 |
> |
Alerter.PluginsPackage=uk.org.iscream.cms.server.client.alerters |
| 285 |
> |
Alerter.Plugins=EMail;IRC;WebFeeder;Logging; |
| 286 |
|
|
| 287 |
|
|
| 288 |
|
# EMail alerter configuration |
| 300 |
|
Alerter.IRC.IRCPort = 6667 |
| 301 |
|
Alerter.IRC.nickList = iscreamBot;_iscreamBot;i-screamBot |
| 302 |
|
Alerter.IRC.user = i-scream |
| 303 |
< |
Alerter.IRC.comment = i-scream alerting bot |
| 303 |
> |
Alerter.IRC.comment = i-scream alerting bot (based on PircBot) |
| 304 |
> |
Alerter.IRC.finger = i-scream alerting bot (based on PircBot) |
| 305 |
|
Alerter.IRC.channel = #i-scream |
| 306 |
|
Alerter.IRC.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% - time till next alert (should one occur), %timeTillNextAlert% |
| 307 |
|
Alerter.IRC.reconnectDelay = 30 |
| 319 |
|
Alerter.IRC.rejectMessage = sorry, I don't understand your request |
| 320 |
|
|
| 321 |
|
|
| 322 |
+ |
# Logging alerter configuration |
| 323 |
+ |
Alerter.Logging.level = WARNING |
| 324 |
+ |
Alerter.Logging.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% |
| 325 |
|
|
| 326 |
+ |
|
| 327 |
+ |
|
| 328 |
|
############################################################ |
| 329 |
|
#### WebFeeder Configuration |
| 330 |
|
############################################################ |
| 335 |
|
WebFeeder.alertActive = true |
| 336 |
|
|
| 337 |
|
# Only pass on alerts past this level |
| 338 |
< |
WebFeeder.alertLevel = OK |
| 338 |
> |
Alerter.WebFeeder.level = OK |
| 339 |
|
|
| 340 |
|
# Check period in seconds (for cleaning stale/old alerts) |
| 341 |
|
WebFeeder.checkPeriod = 120 |