--- projects/cms/source/server/build/etc/system.conf 2001/03/06 02:35:18 1.23 +++ projects/cms/source/server/build/etc/system.conf 2001/03/15 14:29:09 1.37 @@ -5,8 +5,8 @@ # configuration system has this file as its # root of configuration # -# $Author: ajm $ -# $Id: system.conf,v 1.23 2001/03/06 02:35:18 ajm Exp $ +# $Author: tdb $ +# $Id: system.conf,v 1.37 2001/03/15 14:29:09 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,9 +112,10 @@ Host.serviceChecks=HTTP;SMTP ############################################################ # the monitors to run -Monitor.PluginsPackage=uk.ac.ukc.iscream.client.monitors -Monitor.Plugins=CPU;Heartbeat +Monitor.PluginsPackage=uk.org.iscream.client.monitors +Monitor.Plugins=CPU;Disk;Memory;Swap;Services;Heartbeat;WebFeeder; + ## CPU monitor configuration # threshold values # @@ -130,6 +131,76 @@ Monitor.CPU.alertTimeout.WARNING=900 Monitor.CPU.alertTimeout.CAUTION=1800 Monitor.CPU.alertTimeout.CRITICAL=3600 + +## Memory monitor configuration +# threshold values +# +# note: if the UPPER threshold is broken, +# the alertTimeout values are halved. +# This is to escalate the alert quicker. +Monitor.Memory.threshold.LOWER=80 +Monitor.Memory.threshold.UPPER=90 + +# timings of the alerts (in seconds) +Monitor.Memory.alertTimeout.NOTICE=60 +Monitor.Memory.alertTimeout.WARNING=900 +Monitor.Memory.alertTimeout.CAUTION=1800 +Monitor.Memory.alertTimeout.CRITICAL=3600 + + +## Swap monitor configuration +# threshold values +# +# note: if the UPPER threshold is broken, +# the alertTimeout values are halved. +# This is to escalate the alert quicker. +Monitor.Swap.threshold.LOWER=80 +Monitor.Swap.threshold.UPPER=90 + +# timings of the alerts (in seconds) +Monitor.Swap.alertTimeout.NOTICE=60 +Monitor.Swap.alertTimeout.WARNING=900 +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 + + ## Heartbeat monitor configuration # threshold values # @@ -137,6 +208,8 @@ Monitor.CPU.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 @@ -174,8 +247,8 @@ 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 @@ -207,6 +280,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 = 1800 + +# Delete alerts older than this, in seconds. +# Files are only check every WebFeeder.checkPeriod seconds. +WebFeeder.alertDeleteOlderThan = 3600 + +# 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 ############################################################