--- projects/cms/source/server/build/etc/system.conf 2001/03/08 23:20:04 1.32 +++ projects/cms/source/server/build/etc/system.conf 2001/03/19 17:26:30 1.41 @@ -6,7 +6,7 @@ # root of configuration # # $Author: tdb $ -# $Id: system.conf,v 1.32 2001/03/08 23:20:04 tdb Exp $ +# $Id: system.conf,v 1.41 2001/03/19 17:26:30 tdb Exp $ # ############################################################ #### Configuration Files & Groups @@ -14,7 +14,13 @@ # for computing machines group.computing=Host.129.12.4.*; +group.rocks=Host.agate.ukc.ac.uk;Host.arkose.ukc.ac.uk;Host.basalt.ukc.ac.uk;Host.chalk.ukc.ac.uk;\ + Host.chert.ukc.ac.uk;Host.granite.ukc.ac.uk;Host.jade.ukc.ac.uk;Host.jasper.ukc.ac.uk;\ + Host.magnetite.ukc.ac.uk;Host.obsidian.ukc.ac.uk;Host.pumice.ukc.ac.uk;\ + Host.pyrite.ukc.ac.uk;Host.slate.ukc.ac.uk;Host.topaz.ukc.ac.uk; + config.computing=computing.conf +config.rocks=rocks.conf # for library machines group.library=Host.129.12.58.*; @@ -37,9 +43,12 @@ ConfigurationProxy.updateTime=60 # The time interval at which the Queue's should be monitored Queue.MonitorInterval=15 +# The upper limit for a Queue +Queue.SizeLimit=1000 +# The removal algorithm +Queue.RemoveAlgorithm=FIRST - ############################################################ #### FilterManager configuration ############################################################ @@ -58,7 +67,7 @@ Filter.UDPListenPort=4589 Filter.TCPListenPort=4589 # Plugin Information -Filter.PluginsPackage=uk.ac.ukc.iscream.filter.plugins +Filter.PluginsPackage=uk.org.iscream.filter.plugins Filter.Plugins=TypeChecker;EnforceEssentialData # The name for the root filter @@ -94,7 +103,7 @@ ClientInterface.listenPort=4510 ############################################################ # The default filter for a new host -Host.filter=filter1; +Host.filter=computingFilter; # The default update times for a new host Host.UDPUpdateTime=10 @@ -102,8 +111,7 @@ Host.TCPUpdateTime=60 Host.AveragerUpdateTime=5 # The services checks to run on a host -Host.serviceChecksPackage=uk.ac.ukc.iscream.filter.plugins -Host.serviceChecks=HTTP;SMTP;POP3;SSH;FTP;IMAP;Telnet +Host.serviceChecksPackage=uk.org.iscream.filter.plugins @@ -112,8 +120,8 @@ Host.serviceChecks=HTTP;SMTP;POP3;SSH;FTP;IMAP;Telnet ############################################################ # the monitors to run -Monitor.PluginsPackage=uk.ac.ukc.iscream.client.monitors -Monitor.Plugins=CPU;Memory;Swap;Heartbeat;WebFeeder; +Monitor.PluginsPackage=uk.org.iscream.client.monitors +Monitor.Plugins=CPU;Disk;Memory;Swap;Services;Heartbeat;WebFeeder; ## CPU monitor configuration @@ -164,6 +172,46 @@ Monitor.Swap.alertTimeout.CAUTION=1800 Monitor.Swap.alertTimeout.CRITICAL=3600 +## Disk monitor configuration +# threshold values +# +# note: if the UPPER threshold is broken, +# the alertTimeout values are halved. +# This is to escalate the alert quicker. +Monitor.Disk.threshold.LOWER=80 +Monitor.Disk.threshold.UPPER=90 + +# timings of the alerts (in seconds) +Monitor.Disk.alertTimeout.NOTICE=60 +Monitor.Disk.alertTimeout.WARNING=900 +Monitor.Disk.alertTimeout.CAUTION=1800 +Monitor.Disk.alertTimeout.CRITICAL=3600 + + +## Services monitor configuration +# threshold values +# +# THE SERVICES MONITOR USES A HACK +# WHEREBY IT USES THE SERVICE STATUS +# AS THE THRESHOLD LEVEL. THIS SHOULD +# BE LOOKED AT! +# +# note: if the UPPER threshold is broken, +# the alertTimeout values are halved. +# This is to escalate the alert quicker. +#Monitor.Services.threshold.LOWER=120 +#Monitor.Services.threshold.LOWER=300 + +# timings of the alerts (in seconds) +Monitor.Services.alertTimeout.NOTICE=60 +Monitor.Services.alertTimeout.WARNING=900 +Monitor.Services.alertTimeout.CAUTION=1800 +Monitor.Services.alertTimeout.CRITICAL=3600 + +# Make sure we shut up eventually +Monitor.Services.reachFINALcount=5 + + ## Heartbeat monitor configuration # threshold values # @@ -174,7 +222,7 @@ Monitor.Heartbeat.checkPeriod=50 # 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=300 +Monitor.Heartbeat.threshold.UPPER=300 # timings of the alerts (in seconds) Monitor.Heartbeat.alertTimeout.NOTICE=60 @@ -210,17 +258,18 @@ Monitor.Heartbeat.reachFINALcount=5 # # alerters to run -Alerter.PluginsPackage=uk.ac.ukc.iscream.client.alerters +Alerter.PluginsPackage=uk.org.iscream.client.alerters Alerter.Plugins=EMail;IRC;WebFeeder; # EMail alerter configuration -Alerter.EMail.level = CAUTION -Alerter.EMail.defaultDestList = dev@i-scream.org.uk +Alerter.EMail.level = WARNING +Alerter.EMail.destList = dev@i-scream.org.uk Alerter.EMail.sender = dev@i-scream.org.uk Alerter.EMail.smtpServer = mercury.ukc.ac.uk Alerter.EMail.subject = i-scream alert: %level% alert on %source% for %attributeName% -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%. +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\nThis alert was originally raised at %timeOfFirstAlert%,\nwhich was %timeSinceFirstAlert% ago.\n\nThe next alert (should one occur) will be sent in %timeTillNextAlert%. + # IRC alerter configuration Alerter.IRC.level = OK Alerter.IRC.IRCServer = killigrew.ukc.ac.uk @@ -252,6 +301,13 @@ Alerter.IRC.rejectMessage = sorry, I don't understand # comment it to turn them off WebFeeder.latestActive = true WebFeeder.alertActive = true + +# Check period in seconds (for cleaning stale/old alerts) +WebFeeder.checkPeriod = 900 + +# Delete alerts older than this, in seconds. +# Files are only check every WebFeeder.checkPeriod seconds. +WebFeeder.alertDeleteOlderThan = 1800 # Root Path WebFeeder.rootPath = /usr/local/proj/co600_10/webroot