ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/build/etc/system.conf
(Generate patch)

Comparing projects/cms/source/server/build/etc/system.conf (file contents):
Revision 1.42 by tdb, Mon Mar 19 20:57:41 2001 UTC vs.
Revision 1.68 by tdb, Sat Oct 12 21:56:37 2002 UTC

# Line 50 | Line 50 | Queue.SizeLimit=1000
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
# Line 58 | Line 63 | Queue.RemoveAlgorithm=FIRST
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   ############################################################
# Line 69 | Line 77 | Filter.UDPListenPort=4589
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
# Line 78 | Line 86 | 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   ############################################################
# Line 97 | Line 126 | RootFilter.dbInterfaceName=database
126  
127   # The port for the client interface to listen on
128   ClientInterface.listenPort=4510
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 + ############################################################
141 +
142 + # The name for the Database interface
143 + DBInterface.name=database
144 +
145 +
146 +
147 + ############################################################
148   #### Host Configuration
149   ############################################################
150  
# Line 110 | Line 154 | Host.filter=computingFilter;
154   # The default update times for a new host
155   Host.UDPUpdateTime=10
156   Host.TCPUpdateTime=60
113 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  
# Line 121 | Line 164 | Host.serviceChecksPackage=uk.org.iscream.filter.plugin
164   #### Monitor Configuration
165   ############################################################
166  
167 < # the monitors to run
168 < Monitor.PluginsPackage=uk.org.iscream.client.monitors
169 < Monitor.Plugins=CPU;Disk;Memory;Swap;Services;Heartbeat;WebFeeder;
170 < #Monitor.Plugins=CPU;WebFeeder;
128 < #Monitor.Plugins=
167 > ## The monitors to run
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  
172 + ## Default alert timeouts
173 + # these can be override on a per-monitor basis
174 + # timings of the alerts (in seconds)
175 + Monitor.alertTimeout.NOTICE=60
176 + Monitor.alertTimeout.WARNING=900
177 + Monitor.alertTimeout.CAUTION=1800
178 + Monitor.alertTimeout.CRITICAL=3600
179  
180 < ## CPU monitor configuration
132 < # threshold values
180 > ## Threshold values
181   #
182   # note: if the UPPER threshold is broken,
183   # the alertTimeout values are halved.
184   # This is to escalate the alert quicker.
185 + #
186 +
187 + # CPU monitor threshold values
188   Monitor.CPU.threshold.LOWER=90
189   Monitor.CPU.threshold.UPPER=99
190  
140 # timings of the alerts (in seconds)
141 Monitor.CPU.alertTimeout.NOTICE=60
142 Monitor.CPU.alertTimeout.WARNING=900
143 Monitor.CPU.alertTimeout.CAUTION=1800
144 Monitor.CPU.alertTimeout.CRITICAL=3600
191  
192 + # Load monitor threshold values
193 + Monitor.Load.threshold.LOWER=10.0
194 + Monitor.Load.threshold.UPPER=20.0
195  
196 < ## Memory monitor configuration
197 < # threshold values
198 < #
199 < # note: if the UPPER threshold is broken,
200 < # the alertTimeout values are halved.
201 < # This is to escalate the alert quicker.
196 >
197 > # Process Count threshold values
198 > Monitor.Process.threshold.LOWER=1000
199 > Monitor.Process.threshold.UPPER=1500
200 >
201 >
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  
156 # timings of the alerts (in seconds)
157 Monitor.Memory.alertTimeout.NOTICE=60
158 Monitor.Memory.alertTimeout.WARNING=900
159 Monitor.Memory.alertTimeout.CAUTION=1800
160 Monitor.Memory.alertTimeout.CRITICAL=3600
209  
210 <
163 < ## Swap monitor configuration
164 < # threshold values
165 < #
166 < # note: if the UPPER threshold is broken,
167 < # the alertTimeout values are halved.
168 < # This is to escalate the alert quicker.
210 > # Swap monitor threshold values
211   Monitor.Swap.threshold.LOWER=80
212   Monitor.Swap.threshold.UPPER=90
213  
172 # timings of the alerts (in seconds)
173 Monitor.Swap.alertTimeout.NOTICE=60
174 Monitor.Swap.alertTimeout.WARNING=900
175 Monitor.Swap.alertTimeout.CAUTION=1800
176 Monitor.Swap.alertTimeout.CRITICAL=3600
214  
215 + # UserCount monitor threshold values
216 + Monitor.UserCount.threshold.LOWER=100
217 + Monitor.UserCount.threshold.UPPER=200
218  
219 < ## Disk monitor configuration
220 < # threshold values
181 < #
182 < # note: if the UPPER threshold is broken,
183 < # the alertTimeout values are halved.
184 < # This is to escalate the alert quicker.
219 >
220 > # Disk monitor threshold values
221   Monitor.Disk.threshold.LOWER=90
222   Monitor.Disk.threshold.UPPER=95
223 + # Thresholds given are PERCENTAGE or VALUE
224 + # where PERCENTAGE is a percentage of disk in use
225 + # and VALUE is an absolute value of space free
226 + Monitor.Disk.thresholdMeasure=PERCENTAGE
227  
188 # timings of the alerts (in seconds)
189 Monitor.Disk.alertTimeout.NOTICE=60
190 Monitor.Disk.alertTimeout.WARNING=900
191 Monitor.Disk.alertTimeout.CAUTION=1800
192 Monitor.Disk.alertTimeout.CRITICAL=3600
228  
229 + # Queue monitor threshold values
230 + Monitor.Queue.threshold.LOWER=50
231 + Monitor.Queue.threshold.UPPER=80
232 + # Thresholds given are PERCENTAGE or VALUE
233 + # where PERCENTAGE is a percentage of disk in use
234 + # and VALUE is an absolute value of space free
235 + Monitor.Queue.thresholdMeasure=PERCENTAGE
236  
237 < ## Services monitor configuration
238 < # threshold values
237 >
238 > # Services monitor threshold values
239   #
240   # THE SERVICES MONITOR USES A HACK
241   # WHEREBY IT USES THE SERVICE STATUS
242   # AS THE THRESHOLD LEVEL.  THIS SHOULD
243   # BE LOOKED AT!
244   #
245 < # note: if the UPPER threshold is broken,
246 < # the alertTimeout values are halved.
205 < # This is to escalate the alert quicker.
206 < #Monitor.Services.threshold.LOWER=120
207 < #Monitor.Services.threshold.LOWER=300
208 <
209 < # timings of the alerts (in seconds)
210 < Monitor.Services.alertTimeout.NOTICE=60
211 < Monitor.Services.alertTimeout.WARNING=900
212 < Monitor.Services.alertTimeout.CAUTION=1800
213 < Monitor.Services.alertTimeout.CRITICAL=3600
214 <
215 < # Make sure we shut up eventually
245 > # how many times we should be at the highest level before
246 > # we go to a FINAL alert
247   Monitor.Services.reachFINALcount=5
248  
249  
250 < ## Heartbeat monitor configuration
220 < # threshold values
221 < #
222 < # note: if the UPPER threshold is broken,
223 < # the alertTimeout values are halved.
224 < # This is to escalate the alert quicker.
225 < Monitor.Heartbeat.checkPeriod=50
250 > # Heartbeat threshold values
251   # these are values in seconds from when the heartbeat
252   # was *expected* to arrive (ie. last + hearbeat period)
253 < Monitor.Heartbeat.threshold.LOWER=120
253 > Monitor.Heartbeat.threshold.LOWER=180
254   Monitor.Heartbeat.threshold.UPPER=300
255 + # this is how often we will run a "check" of heartbeats
256 + Monitor.Heartbeat.checkPeriod=50
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  
231 # timings of the alerts (in seconds)
232 Monitor.Heartbeat.alertTimeout.NOTICE=60
233 Monitor.Heartbeat.alertTimeout.WARNING=900
234 Monitor.Heartbeat.alertTimeout.CAUTION=1800
235 Monitor.Heartbeat.alertTimeout.CRITICAL=3600
265  
237 # this means it will reach a FINAL level,
238 # and thus the host will be removed from the monitor list,
239 # if the highest level alert is reached and occours this
240 # number of times.
241 #
242 # int this setup, that means 5 CRITICAL alerts would occour
243 # on a Heartbeat before reaching FINAL.
244 # If this value is wrong or not present, FINAL is never reached
245 #
246 Monitor.Heartbeat.reachFINALcount=5
266  
267   ############################################################
268   #### Alerter Configuration
# Line 262 | Line 281 | Monitor.Heartbeat.reachFINALcount=5
281   #
282  
283   # alerters to run
284 < Alerter.PluginsPackage=uk.org.iscream.client.alerters
285 < #Alerter.Plugins=EMail;IRC;WebFeeder;
267 < Alerter.Plugins=IRC;WebFeeder;
268 < #Alerter.Plugins=WebFeeder;
269 < #Alerter.Plugins=
284 > Alerter.PluginsPackage=uk.org.iscream.cms.server.client.alerters
285 > Alerter.Plugins=EMail;IRC;WebFeeder;Logging;
286  
287 +
288   # EMail alerter configuration
289   Alerter.EMail.level = WARNING
290   Alerter.EMail.destList = dev@i-scream.org.uk
# Line 283 | Line 300 | Alerter.IRC.IRCServer = killigrew.ukc.ac.uk
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
# Line 300 | Line 318 | Alerter.IRC.versionCommand = version
318   Alerter.IRC.helpCommand = help
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   ############################################################
# Line 309 | Line 334 | Alerter.IRC.rejectMessage = sorry, I don't understand
334   WebFeeder.latestActive = true
335   WebFeeder.alertActive = true
336  
337 + # Only pass on alerts past this level
338 + Alerter.WebFeeder.level = OK
339 +
340   # Check period in seconds (for cleaning stale/old alerts)
341   WebFeeder.checkPeriod = 120
342  
# Line 327 | Line 355 | WebFeeder.latestFileName = latest_data
355   WebFeeder.alertSubDir = alert
356   WebFeeder.alertFileName = alert_data
357  
330 ############################################################
358  
359 + ############################################################

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines