--- projects/cms/source/server/build/etc/system.conf 2001/05/13 01:52:45 1.53 +++ 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.53 2001/05/13 01:52:45 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 @@ -100,8 +129,12 @@ 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 ############################################################ @@ -121,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 @@ -133,7 +165,7 @@ Host.serviceChecksPackage=uk.org.iscream.filter.plugin ############################################################ ## The monitors to run -Monitor.PluginsPackage=uk.org.iscream.client.monitors +Monitor.PluginsPackage=uk.org.iscream.cms.server.client.monitors Monitor.Plugins=CPU;Load;Process;Disk;Memory;Swap;Services;\ Heartbeat;Queue;UserCount;WebFeeder; @@ -170,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 @@ -191,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 @@ -222,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 @@ -242,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 @@ -261,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 @@ -277,6 +317,11 @@ Alerter.IRC.timeSinceLastAlertCommand = time since las Alerter.IRC.versionCommand = version 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%