--- projects/cms/source/server/build/etc/system.conf 2001/03/06 23:52:57 1.24 +++ projects/cms/source/server/build/etc/system.conf 2001/03/16 05:54:23 1.39 @@ -6,7 +6,7 @@ # root of configuration # # $Author: tdb $ -# $Id: system.conf,v 1.24 2001/03/06 23:52:57 tdb Exp $ +# $Id: system.conf,v 1.39 2001/03/16 05:54:23 tdb Exp $ # ############################################################ #### Configuration Files & Groups @@ -58,7 +58,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 +94,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 +102,8 @@ 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 +Host.serviceChecksPackage=uk.org.iscream.filter.plugins +Host.serviceChecks=HTTP;SMTP;POP3;SSH;FTP;IMAP;Telnet @@ -112,8 +112,8 @@ Host.serviceChecks=HTTP;SMTP ############################################################ # the monitors to run -Monitor.PluginsPackage=uk.ac.ukc.iscream.client.monitors -Monitor.Plugins=CPU;Memory;Swap;Heartbeat; +Monitor.PluginsPackage=uk.org.iscream.client.monitors +Monitor.Plugins=CPU;Disk;Memory;Swap;Services;Heartbeat;WebFeeder; ## CPU monitor configuration @@ -164,6 +164,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 # @@ -171,8 +211,10 @@ Monitor.Swap.alertTimeout.CRITICAL=3600 # the alertTimeout values are halved. # This is to escalate the alert quicker. 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 @@ -208,17 +250,18 @@ Monitor.Heartbeat.reachFINALcount=5 # # alerters to run -Alerter.PluginsPackage=uk.ac.ukc.iscream.client.alerters -Alerter.Plugins=EMail;IRC; +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 @@ -241,6 +284,33 @@ Alerter.IRC.timeSinceLastAlertCommand = time since las Alerter.IRC.versionCommand = version Alerter.IRC.helpCommand = help Alerter.IRC.rejectMessage = sorry, I don't understand your request + +############################################################ +#### WebFeeder Configuration +############################################################ + +# Define these (one or both_ to turn on the WebFeeder's, +# 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 + +# Latest Data +WebFeeder.latestSubDir = latest +WebFeeder.latestFileName = latest_data + +# Alert Data +WebFeeder.alertSubDir = alert +WebFeeder.alertFileName = alert_data ############################################################