58 |
|
# The default port to listen for new host connections |
59 |
|
FilterManager.listenPort=4567 |
60 |
|
|
61 |
+ |
# Access control list |
62 |
+ |
FilterManager.ACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
63 |
|
|
64 |
|
|
65 |
+ |
|
66 |
|
############################################################ |
67 |
|
#### Filter configuration |
68 |
|
############################################################ |
72 |
|
Filter.TCPListenPort=4589 |
73 |
|
|
74 |
|
# Plugin Information |
75 |
< |
Filter.PluginsPackage=uk.org.iscream.filter.plugins |
75 |
> |
Filter.PluginsPackage=uk.org.iscream.cms.server.filter.plugins |
76 |
|
Filter.Plugins=TypeChecker;EnforceEssentialData |
77 |
|
|
78 |
|
# The name for the root filter |
81 |
|
# The default parent filter (should almost always be the same as Filter.rootFilter) |
82 |
|
Filter.parentFilter=root |
83 |
|
|
84 |
+ |
# The input methods to activate |
85 |
+ |
# (comment or set to 0 to disable) |
86 |
+ |
Filter.ActivateTCPReader=1 |
87 |
+ |
Filter.ActivateUDPReader=1 |
88 |
+ |
Filter.ActivateCORBAReader=1 |
89 |
|
|
90 |
+ |
# Access control list for the TCP and UDP inputs |
91 |
+ |
Filter.TCPACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
92 |
+ |
Filter.UDPACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
93 |
|
|
94 |
+ |
|
95 |
+ |
|
96 |
|
############################################################ |
97 |
|
#### Root filter interfaces configuration |
98 |
|
############################################################ |
110 |
|
|
111 |
|
# The port for the client interface to listen on |
112 |
|
ClientInterface.listenPort=4510 |
113 |
+ |
# The name for the client interface |
114 |
+ |
ClientInterface.name=realtimeclients |
115 |
|
|
116 |
+ |
# Access Control List for TCP Clients |
117 |
+ |
ClientInterface.TCPControlChannelACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
118 |
+ |
ClientInterface.TCPDataChannelACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW |
119 |
|
|
120 |
|
|
121 |
+ |
|
122 |
|
############################################################ |
123 |
+ |
#### Database interface configuration |
124 |
+ |
############################################################ |
125 |
+ |
|
126 |
+ |
# The name for the Database interface |
127 |
+ |
DBInterface.name=database |
128 |
+ |
|
129 |
+ |
|
130 |
+ |
|
131 |
+ |
############################################################ |
132 |
|
#### Host Configuration |
133 |
|
############################################################ |
134 |
|
|
138 |
|
# The default update times for a new host |
139 |
|
Host.UDPUpdateTime=10 |
140 |
|
Host.TCPUpdateTime=60 |
113 |
– |
Host.AveragerUpdateTime=5 |
141 |
|
|
142 |
|
# The services checks to run on a host |
143 |
< |
Host.serviceChecksPackage=uk.org.iscream.filter.plugins |
143 |
> |
Host.serviceChecksPackage=uk.org.iscream.cms.server.filter.plugins |
144 |
|
|
145 |
|
|
146 |
|
|
149 |
|
############################################################ |
150 |
|
|
151 |
|
## The monitors to run |
152 |
< |
Monitor.PluginsPackage=uk.org.iscream.client.monitors |
153 |
< |
Monitor.Plugins=CPU;Load;Process;Disk;Memory;Swap;Services;Heartbeat;Queue;WebFeeder; |
152 |
> |
Monitor.PluginsPackage=uk.org.iscream.cms.server.client.monitors |
153 |
> |
Monitor.Plugins=CPU;Load;Process;Disk;Memory;Swap;Services;\ |
154 |
> |
Heartbeat;Queue;UserCount;WebFeeder; |
155 |
|
|
156 |
|
## Default alert timeouts |
157 |
|
# these can be override on a per-monitor basis |
193 |
|
Monitor.Swap.threshold.UPPER=90 |
194 |
|
|
195 |
|
|
196 |
+ |
# UserCount monitor threshold values |
197 |
+ |
Monitor.UserCount.threshold.LOWER=100 |
198 |
+ |
Monitor.UserCount.threshold.UPPER=200 |
199 |
+ |
|
200 |
+ |
|
201 |
|
# Disk monitor threshold values |
202 |
|
Monitor.Disk.threshold.LOWER=90 |
203 |
|
Monitor.Disk.threshold.UPPER=95 |
207 |
|
Monitor.Disk.thresholdMeasure=PERCENTAGE |
208 |
|
|
209 |
|
|
210 |
< |
# Disk monitor threshold values |
211 |
< |
Monitor.Queue.threshold.LOWER=90 |
212 |
< |
Monitor.Queue.threshold.UPPER=95 |
210 |
> |
# Queue monitor threshold values |
211 |
> |
Monitor.Queue.threshold.LOWER=50 |
212 |
> |
Monitor.Queue.threshold.UPPER=80 |
213 |
|
# Thresholds given are PERCENTAGE or VALUE |
214 |
|
# where PERCENTAGE is a percentage of disk in use |
215 |
|
# and VALUE is an absolute value of space free |
231 |
|
# Heartbeat threshold values |
232 |
|
# these are values in seconds from when the heartbeat |
233 |
|
# was *expected* to arrive (ie. last + hearbeat period) |
234 |
< |
Monitor.Heartbeat.threshold.LOWER=120 |
234 |
> |
Monitor.Heartbeat.threshold.LOWER=180 |
235 |
|
Monitor.Heartbeat.threshold.UPPER=300 |
236 |
|
# this is how often we will run a "check" of heartbeats |
237 |
< |
Monitor.Heartbeat.checkPeriod=30 |
237 |
> |
Monitor.Heartbeat.checkPeriod=50 |
238 |
|
# how many times we should be at the highest level before |
239 |
|
# we go to a FINAL alert |
240 |
|
Monitor.Heartbeat.reachFINALcount=5 |
241 |
+ |
# list of hosts we expect to have at startup |
242 |
+ |
# this ensures we notice hosts that aren't running, not |
243 |
+ |
# just those that have gone down recently. |
244 |
+ |
Monitor.Heartbeat.initialHosts=raptor.ukc.ac.uk;myrtle.ukc.ac.uk;kestrel.ukc.ac.uk |
245 |
|
|
246 |
|
|
247 |
|
|
262 |
|
# |
263 |
|
|
264 |
|
# alerters to run |
265 |
< |
Alerter.PluginsPackage=uk.org.iscream.client.alerters |
266 |
< |
Alerter.Plugins=EMail;IRC;WebFeeder; |
265 |
> |
Alerter.PluginsPackage=uk.org.iscream.cms.server.client.alerters |
266 |
> |
Alerter.Plugins=EMail;IRC;WebFeeder;Logging; |
267 |
|
|
268 |
|
|
269 |
|
# EMail alerter configuration |
281 |
|
Alerter.IRC.IRCPort = 6667 |
282 |
|
Alerter.IRC.nickList = iscreamBot;_iscreamBot;i-screamBot |
283 |
|
Alerter.IRC.user = i-scream |
284 |
< |
Alerter.IRC.comment = i-scream alerting bot |
284 |
> |
Alerter.IRC.comment = i-scream alerting bot (based on PircBot) |
285 |
> |
Alerter.IRC.finger = i-scream alerting bot (based on PircBot) |
286 |
|
Alerter.IRC.channel = #i-scream |
287 |
|
Alerter.IRC.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% - time till next alert (should one occur), %timeTillNextAlert% |
288 |
|
Alerter.IRC.reconnectDelay = 30 |
300 |
|
Alerter.IRC.rejectMessage = sorry, I don't understand your request |
301 |
|
|
302 |
|
|
303 |
+ |
# Logging alerter configuration |
304 |
+ |
Alerter.Logging.level = WARNING |
305 |
+ |
Alerter.Logging.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% |
306 |
|
|
307 |
+ |
|
308 |
+ |
|
309 |
|
############################################################ |
310 |
|
#### WebFeeder Configuration |
311 |
|
############################################################ |
316 |
|
WebFeeder.alertActive = true |
317 |
|
|
318 |
|
# Only pass on alerts past this level |
319 |
< |
WebFeeder.alertLevel = OK |
319 |
> |
Alerter.WebFeeder.level = OK |
320 |
|
|
321 |
|
# Check period in seconds (for cleaning stale/old alerts) |
322 |
|
WebFeeder.checkPeriod = 120 |