--- projects/cms/source/server/build/etc/system.conf 2001/03/23 01:17:08 1.50 +++ projects/cms/source/server/build/etc/system.conf 2003/02/22 18:31:02 1.69 @@ -6,7 +6,7 @@ # root of configuration # # $Author: tdb $ -# $Id: system.conf,v 1.50 2001/03/23 01:17:08 tdb Exp $ +# $Id: system.conf,v 1.69 2003/02/22 18:31:02 tdb Exp $ # ############################################################ #### Configuration Files & Groups @@ -50,6 +50,11 @@ Queue.SizeLimit=1000 # The removal algorithm Queue.RemoveAlgorithm=FIRST +# the time (in seconds) at which the XMLCache's contents +# will be rotated. in real terms, this means the minimum +# age at which an XMLPacket can be before it is deleted +# from the cache. +XMLCache.cleanupPeriod=30 ############################################################ #### FilterManager configuration @@ -58,8 +63,11 @@ Queue.RemoveAlgorithm=FIRST # The default port to listen for new host connections FilterManager.listenPort=4567 +# Access control list +FilterManager.ACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW + ############################################################ #### Filter configuration ############################################################ @@ -69,8 +77,8 @@ Filter.UDPListenPort=4589 Filter.TCPListenPort=4589 # Plugin Information -Filter.PluginsPackage=uk.org.iscream.filter.plugins -Filter.Plugins=TypeChecker;EnforceEssentialData +Filter.PluginsPackage=uk.org.iscream.cms.server.filter.plugins +Filter.Plugins=TypeChecker;EnforceEssentialData;SourceChecker;KeyChecker # The name for the root filter RootFilter.name=root @@ -78,8 +86,29 @@ RootFilter.name=root # The default parent filter (should almost always be the same as Filter.rootFilter) Filter.parentFilter=root +# The input methods to activate +# (comment or set to 0 to disable) +Filter.ActivateTCPReader=1 +Filter.ActivateUDPReader=1 +Filter.ActivateCORBAReader=1 +# Access control list for the TCP and UDP inputs +Filter.TCPACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW +Filter.UDPACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW +# Access control list for the SourceChecker plugin +# - packets not permitted by this ACL will be filtered +Filter.SourceCheckerPluginACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW + +# Enforce host authentication? +# (comment or set to 0 to disable) +Filter.EnforceHostAuth=1 + +# Length of keys to use in authentication +Filter.KeyLength=15 + + + ############################################################ #### Root filter interfaces configuration ############################################################ @@ -87,7 +116,7 @@ Filter.parentFilter=root # Comment either of these (or delete them) and # that interface won't be started RootFilter.realtimeInterfaceName=realtimeclients -RootFilter.dbInterfaceName=database +#RootFilter.dbInterfaceName=database @@ -97,10 +126,25 @@ RootFilter.dbInterfaceName=database # The port for the client interface to listen on ClientInterface.listenPort=4510 +# The name for the client interface +ClientInterface.name=realtimeclients +# Access Control List for TCP Clients +ClientInterface.TCPControlChannelACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW +ClientInterface.TCPDataChannelACL=DEFAULT:DENY;*.ukc.ac.uk:ALLOW;129.12.*:ALLOW + ############################################################ +#### Database interface configuration +############################################################ + +# The name for the Database interface +DBInterface.name=database + + + +############################################################ #### Host Configuration ############################################################ @@ -110,10 +154,9 @@ Host.filter=computingFilter; # The default update times for a new host Host.UDPUpdateTime=10 Host.TCPUpdateTime=60 -Host.AveragerUpdateTime=5 # The services checks to run on a host -Host.serviceChecksPackage=uk.org.iscream.filter.plugins +Host.serviceChecksPackage=uk.org.iscream.cms.server.filter.plugins @@ -122,8 +165,9 @@ Host.serviceChecksPackage=uk.org.iscream.filter.plugin ############################################################ ## The monitors to run -Monitor.PluginsPackage=uk.org.iscream.client.monitors -Monitor.Plugins=CPU;Load;Process;Disk;Memory;Swap;Services;Heartbeat;Queue;WebFeeder; +Monitor.PluginsPackage=uk.org.iscream.cms.server.client.monitors +Monitor.Plugins=CPU;Load;Process;Disk;Memory;Swap;Services;\ + Heartbeat;Queue;UserCount;WebFeeder; ## Default alert timeouts # these can be override on a per-monitor basis @@ -158,6 +202,9 @@ Monitor.Process.threshold.UPPER=1500 # Memory monitor threshold values Monitor.Memory.threshold.LOWER=80 Monitor.Memory.threshold.UPPER=90 +# Whether to include 'cache' in the 'free' value +# (1 is true, anything else is false) +Monitor.Memory.useCacheAsFree=1 # Swap monitor threshold values @@ -179,7 +226,7 @@ Monitor.Disk.threshold.UPPER=95 Monitor.Disk.thresholdMeasure=PERCENTAGE -# Disk monitor threshold values +# Queue monitor threshold values Monitor.Queue.threshold.LOWER=50 Monitor.Queue.threshold.UPPER=80 # Thresholds given are PERCENTAGE or VALUE @@ -210,6 +257,10 @@ Monitor.Heartbeat.checkPeriod=50 # how many times we should be at the highest level before # we go to a FINAL alert Monitor.Heartbeat.reachFINALcount=5 +# list of hosts we expect to have at startup +# this ensures we notice hosts that aren't running, not +# just those that have gone down recently. +Monitor.Heartbeat.initialHosts=raptor.ukc.ac.uk;myrtle.ukc.ac.uk;kestrel.ukc.ac.uk @@ -230,8 +281,8 @@ Monitor.Heartbeat.reachFINALcount=5 # # alerters to run -Alerter.PluginsPackage=uk.org.iscream.client.alerters -Alerter.Plugins=EMail;IRC;WebFeeder; +Alerter.PluginsPackage=uk.org.iscream.cms.server.client.alerters +Alerter.Plugins=EMail;IRC;WebFeeder;Logging; # EMail alerter configuration @@ -249,7 +300,8 @@ Alerter.IRC.IRCServer = killigrew.ukc.ac.uk Alerter.IRC.IRCPort = 6667 Alerter.IRC.nickList = iscreamBot;_iscreamBot;i-screamBot Alerter.IRC.user = i-scream -Alerter.IRC.comment = i-scream alerting bot +Alerter.IRC.comment = i-scream alerting bot (based on PircBot) +Alerter.IRC.finger = i-scream alerting bot (based on PircBot) Alerter.IRC.channel = #i-scream Alerter.IRC.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% - time till next alert (should one occur), %timeTillNextAlert% Alerter.IRC.reconnectDelay = 30 @@ -267,7 +319,12 @@ Alerter.IRC.helpCommand = help Alerter.IRC.rejectMessage = sorry, I don't understand your request +# Logging alerter configuration +Alerter.Logging.level = WARNING +Alerter.Logging.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% + + ############################################################ #### WebFeeder Configuration ############################################################ @@ -278,7 +335,7 @@ WebFeeder.latestActive = true WebFeeder.alertActive = true # Only pass on alerts past this level -WebFeeder.alertLevel = OK +Alerter.WebFeeder.level = OK # Check period in seconds (for cleaning stale/old alerts) WebFeeder.checkPeriod = 120