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.5 by tdb, Fri Jan 19 00:19:13 2001 UTC vs.
Revision 1.41 by tdb, Mon Mar 19 17:26:30 2001 UTC

# Line 7 | Line 7
7   #
8   # $Author$
9   # $Id$
10 + #
11 + ############################################################
12 + #### Configuration Files & Groups
13 + ############################################################
14  
15 < # FilterManager configuration
15 > # for computing machines
16 > group.computing=Host.129.12.4.*;
17 > group.rocks=Host.agate.ukc.ac.uk;Host.arkose.ukc.ac.uk;Host.basalt.ukc.ac.uk;Host.chalk.ukc.ac.uk;\
18 >            Host.chert.ukc.ac.uk;Host.granite.ukc.ac.uk;Host.jade.ukc.ac.uk;Host.jasper.ukc.ac.uk;\
19 >            Host.magnetite.ukc.ac.uk;Host.obsidian.ukc.ac.uk;Host.pumice.ukc.ac.uk;\
20 >            Host.pyrite.ukc.ac.uk;Host.slate.ukc.ac.uk;Host.topaz.ukc.ac.uk;
21  
22 + config.computing=computing.conf
23 + config.rocks=rocks.conf
24 +
25 + # for library machines
26 + group.library=Host.129.12.58.*;
27 + config.library=library.conf
28 +
29 + # for SSB machines
30 + group.ssb=Host.stue*.ukc.ac.uk;
31 + config.ssb=ssb.conf
32 +
33 + # mySQL configuration
34 + config.mySQL=mySQL.conf
35 +
36 + ############################################################
37 + #### Misc system-wide configuration
38 + ############################################################
39 +
40 + # the time (in seconds) that checks should be made for
41 + # changes in configuration
42 + ConfigurationProxy.updateTime=60
43 +
44 + # The time interval at which the Queue's should be monitored
45 + Queue.MonitorInterval=15
46 + # The upper limit for a Queue
47 + Queue.SizeLimit=1000
48 + # The removal algorithm
49 + Queue.RemoveAlgorithm=FIRST
50 +
51 +
52 + ############################################################
53 + #### FilterManager configuration
54 + ############################################################
55 +
56   # The default port to listen for new host connections
57   FilterManager.listenPort=4567
58  
59 +
60 +
61 + ############################################################
62 + #### Filter configuration
63 + ############################################################
64 +
65   # The default port for Filter's to listen on
66   Filter.UDPListenPort=4589
67   Filter.TCPListenPort=4589
68  
69 + # Plugin Information
70 + Filter.PluginsPackage=uk.org.iscream.filter.plugins
71 + Filter.Plugins=TypeChecker;EnforceEssentialData
72 +
73   # The name for the root filter
74   RootFilter.name=root
75 +
76 + # The default parent filter (should almost always be the same as Filter.rootFilter)
77 + Filter.parentFilter=root
78 +
79 +
80 +
81 + ############################################################
82 + #### Root filter interfaces configuration
83 + ############################################################
84 +
85   # Comment either of these (or delete them) and
86   # that interface won't be started
87   RootFilter.realtimeInterfaceName=realtimeclients
88 < #RootFilter.dbInterfaceName=database
88 > RootFilter.dbInterfaceName=database
89  
90 +
91 +
92 + ############################################################
93 + #### Client interface configuration
94 + ############################################################
95 +
96   # The port for the client interface to listen on
97   ClientInterface.listenPort=4510
98  
30 # The default parent filter (should almost always be the same as Filter.rootFilter)
31 Filter.parentFilter=root
99  
100 +
101 + ############################################################
102 + #### Host Configuration
103 + ############################################################
104 +
105   # The default filter for a new host
106 < Host.filter=filter1
106 > Host.filter=computingFilter;
107  
108   # The default update times for a new host
109 < Host.UDPUpdateTime=5
109 > Host.UDPUpdateTime=10
110   Host.TCPUpdateTime=60
111 + Host.AveragerUpdateTime=5
112  
113 < # Plugin Information
114 < Filter.PluginsPackage=uk.ac.ukc.iscream.filter.plugins
42 < Filter.Plugins=TypeChecker;EnforceEssentialData
113 > # The services checks to run on a host
114 > Host.serviceChecksPackage=uk.org.iscream.filter.plugins
115  
116 < # mySQL Details
117 < config.mySQL=mySQL.conf
116 >
117 >
118 > ############################################################
119 > #### Monitor Configuration
120 > ############################################################
121 >
122 > # the monitors to run
123 > Monitor.PluginsPackage=uk.org.iscream.client.monitors
124 > Monitor.Plugins=CPU;Disk;Memory;Swap;Services;Heartbeat;WebFeeder;
125 >
126 >
127 > ## CPU monitor configuration
128 > # threshold values
129 > #
130 > # note: if the UPPER threshold is broken,
131 > # the alertTimeout values are halved.
132 > # This is to escalate the alert quicker.
133 > Monitor.CPU.threshold.LOWER=90
134 > Monitor.CPU.threshold.UPPER=99
135 >
136 > # timings of the alerts (in seconds)
137 > Monitor.CPU.alertTimeout.NOTICE=60
138 > Monitor.CPU.alertTimeout.WARNING=900
139 > Monitor.CPU.alertTimeout.CAUTION=1800
140 > Monitor.CPU.alertTimeout.CRITICAL=3600
141 >
142 >
143 > ## Memory monitor configuration
144 > # threshold values
145 > #
146 > # note: if the UPPER threshold is broken,
147 > # the alertTimeout values are halved.
148 > # This is to escalate the alert quicker.
149 > Monitor.Memory.threshold.LOWER=80
150 > Monitor.Memory.threshold.UPPER=90
151 >
152 > # timings of the alerts (in seconds)
153 > Monitor.Memory.alertTimeout.NOTICE=60
154 > Monitor.Memory.alertTimeout.WARNING=900
155 > Monitor.Memory.alertTimeout.CAUTION=1800
156 > Monitor.Memory.alertTimeout.CRITICAL=3600
157 >
158 >
159 > ## Swap monitor configuration
160 > # threshold values
161 > #
162 > # note: if the UPPER threshold is broken,
163 > # the alertTimeout values are halved.
164 > # This is to escalate the alert quicker.
165 > Monitor.Swap.threshold.LOWER=80
166 > Monitor.Swap.threshold.UPPER=90
167 >
168 > # timings of the alerts (in seconds)
169 > Monitor.Swap.alertTimeout.NOTICE=60
170 > Monitor.Swap.alertTimeout.WARNING=900
171 > Monitor.Swap.alertTimeout.CAUTION=1800
172 > Monitor.Swap.alertTimeout.CRITICAL=3600
173 >
174 >
175 > ## Disk monitor configuration
176 > # threshold values
177 > #
178 > # note: if the UPPER threshold is broken,
179 > # the alertTimeout values are halved.
180 > # This is to escalate the alert quicker.
181 > Monitor.Disk.threshold.LOWER=80
182 > Monitor.Disk.threshold.UPPER=90
183 >
184 > # timings of the alerts (in seconds)
185 > Monitor.Disk.alertTimeout.NOTICE=60
186 > Monitor.Disk.alertTimeout.WARNING=900
187 > Monitor.Disk.alertTimeout.CAUTION=1800
188 > Monitor.Disk.alertTimeout.CRITICAL=3600
189 >
190 >
191 > ## Services monitor configuration
192 > # threshold values
193 > #
194 > # THE SERVICES MONITOR USES A HACK
195 > # WHEREBY IT USES THE SERVICE STATUS
196 > # AS THE THRESHOLD LEVEL.  THIS SHOULD
197 > # BE LOOKED AT!
198 > #
199 > # note: if the UPPER threshold is broken,
200 > # the alertTimeout values are halved.
201 > # This is to escalate the alert quicker.
202 > #Monitor.Services.threshold.LOWER=120
203 > #Monitor.Services.threshold.LOWER=300
204 >
205 > # timings of the alerts (in seconds)
206 > Monitor.Services.alertTimeout.NOTICE=60
207 > Monitor.Services.alertTimeout.WARNING=900
208 > Monitor.Services.alertTimeout.CAUTION=1800
209 > Monitor.Services.alertTimeout.CRITICAL=3600
210 >
211 > # Make sure we shut up eventually
212 > Monitor.Services.reachFINALcount=5
213 >
214 >
215 > ## Heartbeat monitor configuration
216 > # threshold values
217 > #
218 > # note: if the UPPER threshold is broken,
219 > # the alertTimeout values are halved.
220 > # This is to escalate the alert quicker.
221 > Monitor.Heartbeat.checkPeriod=50
222 > # these are values in seconds from when the heartbeat
223 > # was *expected* to arrive (ie. last + hearbeat period)
224 > Monitor.Heartbeat.threshold.LOWER=120
225 > Monitor.Heartbeat.threshold.UPPER=300
226 >
227 > # timings of the alerts (in seconds)
228 > Monitor.Heartbeat.alertTimeout.NOTICE=60
229 > Monitor.Heartbeat.alertTimeout.WARNING=900
230 > Monitor.Heartbeat.alertTimeout.CAUTION=1800
231 > Monitor.Heartbeat.alertTimeout.CRITICAL=3600
232 >
233 > # this means it will reach a FINAL level,
234 > # and thus the host will be removed from the monitor list,
235 > # if the highest level alert is reached and occours this
236 > # number of times.
237 > #
238 > # int this setup, that means 5 CRITICAL alerts would occour
239 > # on a Heartbeat before reaching FINAL.
240 > # If this value is wrong or not present, FINAL is never reached
241 > #
242 > Monitor.Heartbeat.reachFINALcount=5
243 >
244 > ############################################################
245 > #### Alerter Configuration
246 > ############################################################
247 > # The following var's are understood by ALL alerters for messages
248 > #
249 > # %level%               - the alert level (eg, WARNING)
250 > # %threshold%           - the threshold broken (eg, LOWER)
251 > # %source%              - the source of the alert (eg, raptor.ukc.ac.uk)
252 > # %value%               - the value reached (eg, 95)
253 > # %thresholdValue%      - the value of the threshold broken (eg, 90)
254 > # %attributeName%       - the attribute that has caused the alert (eg, CPU User)
255 > # %timeTillNextAlert%   - the time the next alert will be sent out
256 > # %timeSinceFirstAlert% - the time elapsed since the first alert for this problem
257 > # %timeOfFirstAlert%    - the time the first alert was sent
258 > #
259 >
260 > # alerters to run
261 > Alerter.PluginsPackage=uk.org.iscream.client.alerters
262 > Alerter.Plugins=EMail;IRC;WebFeeder;
263 >
264 > # EMail alerter configuration
265 > Alerter.EMail.level = WARNING
266 > Alerter.EMail.destList = dev@i-scream.org.uk
267 > Alerter.EMail.sender = dev@i-scream.org.uk
268 > Alerter.EMail.smtpServer = mercury.ukc.ac.uk
269 > Alerter.EMail.subject = i-scream alert: %level% alert on %source% for %attributeName%
270 > Alerter.EMail.message = The i-scream distributed central monitoring system has\nraised a %level% alert for the host %source%.\n\nThe value for %attributeName% of %value% has exceeded the\n%threshold% threshold value of %thresholdValue%.\n\nThis alert was originally raised at %timeOfFirstAlert%,\nwhich was %timeSinceFirstAlert% ago.\n\nThe next alert (should one occur) will be sent in %timeTillNextAlert%.
271 >
272 >
273 > # IRC alerter configuration
274 > Alerter.IRC.level = OK
275 > Alerter.IRC.IRCServer = killigrew.ukc.ac.uk
276 > Alerter.IRC.IRCPort = 6667
277 > Alerter.IRC.nickList = iscreamBot;_iscreamBot;i-screamBot
278 > Alerter.IRC.user = i-scream
279 > Alerter.IRC.comment = i-scream alerting bot
280 > Alerter.IRC.channel = #i-scream
281 > Alerter.IRC.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% - time till next alert (should one occur), %timeTillNextAlert%
282 > Alerter.IRC.reconnectDelay = 30
283 > Alerter.IRC.startupNotice = i-scream alerting bot activated
284 > Alerter.IRC.stopCommand = stop alerts
285 > Alerter.IRC.startCommand = start alerts
286 > Alerter.IRC.lastAlertCommand = last alert
287 > Alerter.IRC.joinCommand = join
288 > Alerter.IRC.nickChangeCommand = nick
289 > Alerter.IRC.statCommand = statistics
290 > Alerter.IRC.uptimeCommand = uptime
291 > Alerter.IRC.timeSinceLastAlertCommand = time since last alert
292 > Alerter.IRC.versionCommand = version
293 > Alerter.IRC.helpCommand = help
294 > Alerter.IRC.rejectMessage = sorry, I don't understand your request
295 >
296 > ############################################################
297 > #### WebFeeder Configuration
298 > ############################################################
299 >
300 > # Define these (one or both_ to turn on the WebFeeder's,
301 > # comment it to turn them off
302 > WebFeeder.latestActive = true
303 > WebFeeder.alertActive = true
304 >
305 > # Check period in seconds (for cleaning stale/old alerts)
306 > WebFeeder.checkPeriod = 900
307 >
308 > # Delete alerts older than this, in seconds.
309 > # Files are only check every WebFeeder.checkPeriod seconds.
310 > WebFeeder.alertDeleteOlderThan = 1800
311 >
312 > # Root Path
313 > WebFeeder.rootPath = /usr/local/proj/co600_10/webroot
314 >
315 > # Latest Data
316 > WebFeeder.latestSubDir = latest
317 > WebFeeder.latestFileName = latest_data
318 >
319 > # Alert Data
320 > WebFeeder.alertSubDir = alert
321 > WebFeeder.alertFileName = alert_data
322 >
323 > ############################################################
324 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines