--- projects/cms/source/server/build/etc/system.conf 2001/03/22 17:33:10 1.49 +++ projects/cms/source/server/build/etc/system.conf 2002/02/04 23:19:29 1.58.2.1 @@ -6,7 +6,7 @@ # root of configuration # # $Author: tdb $ -# $Id: system.conf,v 1.49 2001/03/22 17:33:10 tdb Exp $ +# $Id: system.conf,v 1.58.2.1 2002/02/04 23:19:29 tdb Exp $ # ############################################################ #### Configuration Files & Groups @@ -69,7 +69,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 @@ -97,10 +97,21 @@ RootFilter.dbInterfaceName=database # The port for the client interface to listen on ClientInterface.listenPort=4510 +# The name for the client interface +ClientInterface.name=realtimeclients ############################################################ +#### Database interface configuration +############################################################ + +# The name for the Database interface +DBInterface.name=database + + + +############################################################ #### Host Configuration ############################################################ @@ -113,7 +124,7 @@ 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 +133,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 +177,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,7 +191,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 @@ -205,6 +222,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 @@ -225,8 +246,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 +265,7 @@ 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.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 +283,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 +299,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