ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/build/etc/system.conf
Revision: 1.23
Committed: Tue Mar 6 02:35:18 2001 UTC (23 years, 9 months ago) by ajm
Branch: MAIN
Changes since 1.22: +25 -2 lines
Log Message:
Has some comments for alerters, and new FINAL config

File Contents

# User Rev Content
1 tdb 1.2 # This is the default system configuration file
2     # used by all components of the i-scream system
3     #
4     # ALL configuration that uses the centralised
5     # configuration system has this file as its
6     # root of configuration
7     #
8 tdb 1.18 # $Author: tdb1 $
9 ajm 1.23 # $Id: system.conf,v 1.22 2001/03/05 13:40:48 tdb1 Exp $
10 ajm 1.14 #
11     ############################################################
12     #### Configuration Files & Groups
13     ############################################################
14    
15     # for computing machines
16 tdb 1.15 group.computing=Host.129.12.4.*;
17     config.computing=computing.conf
18 ajm 1.14
19     # for library machines
20 tdb 1.15 group.library=Host.129.12.58.*;
21 ajm 1.14 config.library=library.conf
22    
23 tdb 1.15 # for SSB machines
24     group.ssb=Host.stue*.ukc.ac.uk;
25     config.ssb=ssb.conf
26    
27 ajm 1.14 # mySQL configuration
28     config.mySQL=mySQL.conf
29    
30 ajm 1.16 ############################################################
31     #### Misc system-wide configuration
32     ############################################################
33    
34     # the time (in seconds) that checks should be made for
35     # changes in configuration
36     ConfigurationProxy.updateTime=60
37    
38     # The time interval at which the Queue's should be monitored
39     Queue.MonitorInterval=15
40    
41 tdb 1.2
42 ajm 1.14
43     ############################################################
44     #### FilterManager configuration
45     ############################################################
46 tdb 1.2
47     # The default port to listen for new host connections
48     FilterManager.listenPort=4567
49    
50 ajm 1.14
51    
52     ############################################################
53     #### Filter configuration
54     ############################################################
55    
56 tdb 1.2 # The default port for Filter's to listen on
57     Filter.UDPListenPort=4589
58     Filter.TCPListenPort=4589
59    
60 ajm 1.14 # Plugin Information
61     Filter.PluginsPackage=uk.ac.ukc.iscream.filter.plugins
62     Filter.Plugins=TypeChecker;EnforceEssentialData
63    
64 tdb 1.2 # The name for the root filter
65     RootFilter.name=root
66 ajm 1.14
67     # The default parent filter (should almost always be the same as Filter.rootFilter)
68     Filter.parentFilter=root
69    
70    
71    
72     ############################################################
73     #### Root filter interfaces configuration
74     ############################################################
75    
76 tdb 1.2 # Comment either of these (or delete them) and
77     # that interface won't be started
78     RootFilter.realtimeInterfaceName=realtimeclients
79 tdb 1.6 RootFilter.dbInterfaceName=database
80 tdb 1.2
81 ajm 1.14
82    
83     ############################################################
84     #### Client interface configuration
85     ############################################################
86    
87 tdb 1.2 # The port for the client interface to listen on
88     ClientInterface.listenPort=4510
89    
90 ajm 1.14
91    
92     ############################################################
93     #### Host Configuration
94     ############################################################
95 tdb 1.2
96     # The default filter for a new host
97 ajm 1.23 Host.filter=filter1;
98 tdb 1.13
99 tdb 1.2 # The default update times for a new host
100 tdb 1.7 Host.UDPUpdateTime=10
101 tdb 1.2 Host.TCPUpdateTime=60
102 tdb 1.15 Host.AveragerUpdateTime=5
103 tdb 1.2
104 ajm 1.8 # The services checks to run on a host
105     Host.serviceChecksPackage=uk.ac.ukc.iscream.filter.plugins
106 tdb 1.11 Host.serviceChecks=HTTP;SMTP
107 tdb 1.2
108 ajm 1.14
109 tdb 1.12
110 ajm 1.14 ############################################################
111     #### Monitor Configuration
112     ############################################################
113    
114     # the monitors to run
115     Monitor.PluginsPackage=uk.ac.ukc.iscream.client.monitors
116 tdb 1.22 Monitor.Plugins=CPU;Heartbeat
117 ajm 1.14
118 tdb 1.22 ## CPU monitor configuration
119 ajm 1.16 # threshold values
120     #
121     # note: if the UPPER threshold is broken,
122     # the alertTimeout values are halved.
123     # This is to escalate the alert quicker.
124     Monitor.CPU.threshold.LOWER=90
125     Monitor.CPU.threshold.UPPER=99
126    
127     # timings of the alerts (in seconds)
128     Monitor.CPU.alertTimeout.NOTICE=60
129     Monitor.CPU.alertTimeout.WARNING=900
130     Monitor.CPU.alertTimeout.CAUTION=1800
131     Monitor.CPU.alertTimeout.CRITICAL=3600
132 ajm 1.14
133 tdb 1.22 ## Heartbeat monitor configuration
134     # threshold values
135     #
136     # note: if the UPPER threshold is broken,
137     # the alertTimeout values are halved.
138     # This is to escalate the alert quicker.
139     Monitor.Heartbeat.checkPeriod=50
140     Monitor.Heartbeat.threshold.LOWER=120
141     Monitor.Heartbeat.threshold.LOWER=300
142 ajm 1.14
143 tdb 1.22 # timings of the alerts (in seconds)
144     Monitor.Heartbeat.alertTimeout.NOTICE=60
145     Monitor.Heartbeat.alertTimeout.WARNING=900
146     Monitor.Heartbeat.alertTimeout.CAUTION=1800
147     Monitor.Heartbeat.alertTimeout.CRITICAL=3600
148 ajm 1.14
149 ajm 1.23 # this means it will reach a FINAL level,
150     # and thus the host will be removed from the monitor list,
151     # if the highest level alert is reached and occours this
152     # number of times.
153     #
154     # int this setup, that means 5 CRITICAL alerts would occour
155     # on a Heartbeat before reaching FINAL.
156     # If this value is wrong or not present, FINAL is never reached
157     #
158     Monitor.Heartbeat.reachFINALcount=5
159    
160 ajm 1.14 ############################################################
161     #### Alerter Configuration
162     ############################################################
163 ajm 1.23 # The following var's are understood by ALL alerters for messages
164     #
165     # %level% - the alert level (eg, WARNING)
166     # %threshold% - the threshold broken (eg, LOWER)
167     # %source% - the source of the alert (eg, raptor.ukc.ac.uk)
168     # %value% - the value reached (eg, 95)
169     # %thresholdValue% - the value of the threshold broken (eg, 90)
170     # %attributeName% - the attribute that has caused the alert (eg, CPU User)
171     # %timeTillNextAlert% - the time the next alert will be sent out
172     # %timeSinceFirstAlert% - the time elapsed since the first alert for this problem
173     # %timeOfFirstAlert% - the time the first alert was sent
174     #
175 ajm 1.14
176     # alerters to run
177     Alerter.PluginsPackage=uk.ac.ukc.iscream.client.alerters
178     Alerter.Plugins=EMail;IRC;
179    
180     # EMail alerter configuration
181 ajm 1.16 Alerter.EMail.level = CAUTION
182 tdb 1.20 Alerter.EMail.defaultDestList = dev@i-scream.org.uk
183 ajm 1.14 Alerter.EMail.sender = dev@i-scream.org.uk
184     Alerter.EMail.smtpServer = mercury.ukc.ac.uk
185 ajm 1.16 Alerter.EMail.subject = i-scream alert: %level% alert on %source% for %attributeName%
186     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\nThe next alert (should one occur) will be sent in %timeTillNextAlert%.
187 ajm 1.14
188     # IRC alerter configuration
189 ajm 1.16 Alerter.IRC.level = OK
190 ajm 1.14 Alerter.IRC.IRCServer = killigrew.ukc.ac.uk
191     Alerter.IRC.IRCPort = 6667
192 tdb 1.19 Alerter.IRC.nickList = iscreamBot;_iscreamBot;i-screamBot
193 tdb 1.17 Alerter.IRC.user = i-scream
194     Alerter.IRC.comment = i-scream alerting bot
195 ajm 1.14 Alerter.IRC.channel = #i-scream
196 ajm 1.16 Alerter.IRC.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% - time till next alert (should one occur), %timeTillNextAlert%
197 tdb 1.17 Alerter.IRC.reconnectDelay = 30
198     Alerter.IRC.startupNotice = i-scream alerting bot activated
199     Alerter.IRC.stopCommand = stop alerts
200     Alerter.IRC.startCommand = start alerts
201     Alerter.IRC.lastAlertCommand = last alert
202     Alerter.IRC.joinCommand = join
203 tdb 1.18 Alerter.IRC.nickChangeCommand = nick
204     Alerter.IRC.statCommand = statistics
205     Alerter.IRC.uptimeCommand = uptime
206     Alerter.IRC.timeSinceLastAlertCommand = time since last alert
207 tdb 1.19 Alerter.IRC.versionCommand = version
208 tdb 1.17 Alerter.IRC.helpCommand = help
209     Alerter.IRC.rejectMessage = sorry, I don't understand your request
210 ajm 1.16
211 tdb 1.17 ############################################################
212 ajm 1.16