--- projects/cms/source/server/build/etc/system.conf 2001/03/22 02:18:05 1.47 +++ projects/cms/source/server/build/etc/system.conf 2002/03/20 12:56:37 1.63 @@ -6,7 +6,7 @@ # root of configuration # # $Author: tdb $ -# $Id: system.conf,v 1.47 2001/03/22 02:18:05 tdb Exp $ +# $Id: system.conf,v 1.63 2002/03/20 12:56:37 tdb Exp $ # ############################################################ #### Configuration Files & Groups @@ -58,8 +58,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,7 +72,7 @@ Filter.UDPListenPort=4589 Filter.TCPListenPort=4589 # Plugin Information -Filter.PluginsPackage=uk.org.iscream.filter.plugins +Filter.PluginsPackage=uk.org.iscream.cms.server.filter.plugins Filter.Plugins=TypeChecker;EnforceEssentialData # The name for the root filter @@ -78,8 +81,18 @@ 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 + + ############################################################ #### Root filter interfaces configuration ############################################################ @@ -97,10 +110,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 +138,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 +149,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 @@ -165,6 +193,11 @@ Monitor.Swap.threshold.LOWER=80 Monitor.Swap.threshold.UPPER=90 +# UserCount monitor threshold values +Monitor.UserCount.threshold.LOWER=100 +Monitor.UserCount.threshold.UPPER=200 + + # Disk monitor threshold values Monitor.Disk.threshold.LOWER=90 Monitor.Disk.threshold.UPPER=95 @@ -174,9 +207,9 @@ Monitor.Disk.threshold.UPPER=95 Monitor.Disk.thresholdMeasure=PERCENTAGE -# Disk monitor threshold values -Monitor.Queue.threshold.LOWER=90 -Monitor.Queue.threshold.UPPER=95 +# Queue monitor threshold values +Monitor.Queue.threshold.LOWER=50 +Monitor.Queue.threshold.UPPER=80 # Thresholds given are PERCENTAGE or VALUE # where PERCENTAGE is a percentage of disk in use # and VALUE is an absolute value of space free @@ -198,13 +231,17 @@ Monitor.Services.reachFINALcount=5 # Heartbeat threshold values # these are values in seconds from when the heartbeat # was *expected* to arrive (ie. last + hearbeat period) -Monitor.Heartbeat.threshold.LOWER=120 +Monitor.Heartbeat.threshold.LOWER=180 Monitor.Heartbeat.threshold.UPPER=300 # this is how often we will run a "check" of heartbeats -Monitor.Heartbeat.checkPeriod=30 +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 @@ -225,8 +262,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 @@ -244,7 +281,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 @@ -262,7 +300,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 ############################################################ @@ -273,7 +316,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