| 7 |  | # | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 8 |  | # $Author$ | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 9 |  | # $Id$ | 
 
 
 
 
 
 
 
 | 10 | + | # | 
 
 
 
 
 
 
 
 | 11 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 12 | + | #### Configuration Files & Groups | 
 
 
 
 
 
 
 
 | 13 | + | ############################################################ | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 14 |  |  | 
 
 
 
 
 
 
 
 
 
 
 | 15 | < | # FilterManager configuration | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 15 | > | # for computing machines | 
 
 
 
 
 | 16 | > | group.computing=Host.129.12.4.*; | 
 
 
 
 
 | 17 | > | config.computing=computing.conf | 
 
 
 
 
 
 
 
 
 
 
 | 18 |  |  | 
 
 
 
 
 
 
 
 | 19 | + | # for library machines | 
 
 
 
 
 
 
 
 | 20 | + | group.library=Host.129.12.58.*; | 
 
 
 
 
 
 
 
 | 21 | + | config.library=library.conf | 
 
 
 
 
 
 
 
 | 22 | + |  | 
 
 
 
 
 
 
 
 | 23 | + | # for SSB machines | 
 
 
 
 
 
 
 
 | 24 | + | group.ssb=Host.stue*.ukc.ac.uk; | 
 
 
 
 
 
 
 
 | 25 | + | config.ssb=ssb.conf | 
 
 
 
 
 
 
 
 | 26 | + |  | 
 
 
 
 
 
 
 
 | 27 | + | # mySQL configuration | 
 
 
 
 
 
 
 
 | 28 | + | config.mySQL=mySQL.conf | 
 
 
 
 
 
 
 
 | 29 | + |  | 
 
 
 
 
 
 
 
 | 30 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 31 | + | #### Misc system-wide configuration | 
 
 
 
 
 
 
 
 | 32 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 33 | + |  | 
 
 
 
 
 
 
 
 | 34 | + | # the time (in seconds) that checks should be made for | 
 
 
 
 
 
 
 
 | 35 | + | # changes in configuration | 
 
 
 
 
 
 
 
 | 36 | + | ConfigurationProxy.updateTime=60 | 
 
 
 
 
 
 
 
 | 37 | + |  | 
 
 
 
 
 
 
 
 | 38 | + | # The time interval at which the Queue's should be monitored | 
 
 
 
 
 
 
 
 | 39 | + | Queue.MonitorInterval=15 | 
 
 
 
 
 
 
 
 | 40 | + |  | 
 
 
 
 
 
 
 
 | 41 | + |  | 
 
 
 
 
 
 
 
 | 42 | + |  | 
 
 
 
 
 
 
 
 | 43 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 44 | + | #### FilterManager configuration | 
 
 
 
 
 
 
 
 | 45 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 46 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 47 |  | # The default port to listen for new host connections | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 48 |  | FilterManager.listenPort=4567 | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 49 |  |  | 
 
 
 
 
 
 
 
 | 50 | + |  | 
 
 
 
 
 
 
 
 | 51 | + |  | 
 
 
 
 
 
 
 
 | 52 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 53 | + | #### Filter configuration | 
 
 
 
 
 
 
 
 | 54 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 55 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 56 |  | # The default port for Filter's to listen on | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 57 |  | Filter.UDPListenPort=4589 | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 58 |  | Filter.TCPListenPort=4589 | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 59 |  |  | 
 
 
 
 
 
 
 
 | 60 | + | # Plugin Information | 
 
 
 
 
 
 
 
 | 61 | + | Filter.PluginsPackage=uk.ac.ukc.iscream.filter.plugins | 
 
 
 
 
 
 
 
 | 62 | + | Filter.Plugins=TypeChecker;EnforceEssentialData | 
 
 
 
 
 
 
 
 | 63 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 64 |  | # The name for the root filter | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 65 |  | RootFilter.name=root | 
 
 
 
 
 
 
 
 | 66 | + |  | 
 
 
 
 
 
 
 
 | 67 | + | # The default parent filter (should almost always be the same as Filter.rootFilter) | 
 
 
 
 
 
 
 
 | 68 | + | Filter.parentFilter=root | 
 
 
 
 
 
 
 
 | 69 | + |  | 
 
 
 
 
 
 
 
 | 70 | + |  | 
 
 
 
 
 
 
 
 | 71 | + |  | 
 
 
 
 
 
 
 
 | 72 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 73 | + | #### Root filter interfaces configuration | 
 
 
 
 
 
 
 
 | 74 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 75 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 76 |  | # Comment either of these (or delete them) and | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 77 |  | # that interface won't be started | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 78 |  | RootFilter.realtimeInterfaceName=realtimeclients | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 79 |  | RootFilter.dbInterfaceName=database | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 80 |  |  | 
 
 
 
 
 
 
 
 | 81 | + |  | 
 
 
 
 
 
 
 
 | 82 | + |  | 
 
 
 
 
 
 
 
 | 83 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 84 | + | #### Client interface configuration | 
 
 
 
 
 
 
 
 | 85 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 86 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 87 |  | # The port for the client interface to listen on | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 88 |  | ClientInterface.listenPort=4510 | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 89 |  |  | 
 
 
 
 
 
 
 
 
 | 30 | – | # The default parent filter (should almost always be the same as Filter.rootFilter) | 
 
 
 
 
 
 
 
 
 | 31 | – | Filter.parentFilter=root | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 90 |  |  | 
 
 
 
 
 
 
 
 | 91 | + |  | 
 
 
 
 
 
 
 
 | 92 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 93 | + | #### Host Configuration | 
 
 
 
 
 
 
 
 | 94 | + | ############################################################ | 
 
 
 
 
 
 
 
 | 95 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 96 |  | # The default filter for a new host | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 97 |  | Host.filter=filter1 | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 98 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 99 |  | # The default update times for a new host | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 100 |  | Host.UDPUpdateTime=10 | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 101 |  | Host.TCPUpdateTime=60 | 
 
 
 
 
 
 
 
 | 102 | + | Host.AveragerUpdateTime=5 | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 103 |  |  | 
 
 
 
 
 
 
 
 
 | 40 | – | # Plugin Information | 
 
 
 
 
 
 
 
 
 | 41 | – | Filter.PluginsPackage=uk.ac.ukc.iscream.filter.plugins | 
 
 
 
 
 
 
 
 
 | 42 | – | Filter.Plugins=TypeChecker;EnforceEssentialData | 
 
 
 
 
 
 
 
 
 | 43 | – |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 104 |  | # The services checks to run on a host | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 105 |  | Host.serviceChecksPackage=uk.ac.ukc.iscream.filter.plugins | 
 
 
 
 
 
 
 
 
 
 
 | 106 | < | Host.serviceChecks=HTTP | 
 
 
 
 
 
 
 
 
 | 106 | > | Host.serviceChecks=HTTP;SMTP | 
 
 
 
 
 
 
 
 
 
 
 | 107 |  |  | 
 
 
 
 
 
 
 
 
 
 
 | 108 | < | # mySQL Details | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 109 | < | config.mySQL=mySQL.conf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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 108 | > |  | 
 
 
 
 
 | 109 | > |  | 
 
 
 
 
 | 110 | > | ############################################################ | 
 
 
 
 
 | 111 | > | #### Monitor Configuration | 
 
 
 
 
 | 112 | > | ############################################################ | 
 
 
 
 
 | 113 | > |  | 
 
 
 
 
 | 114 | > | # the monitors to run | 
 
 
 
 
 | 115 | > | Monitor.PluginsPackage=uk.ac.ukc.iscream.client.monitors | 
 
 
 
 
 | 116 | > | Monitor.Plugins=CPU; | 
 
 
 
 
 | 117 | > |  | 
 
 
 
 
 | 118 | > | # CPU monitor configuration | 
 
 
 
 
 | 119 | > | # threshold values | 
 
 
 
 
 | 120 | > | # | 
 
 
 
 
 | 121 | > | # note: if the UPPER threshold is broken, | 
 
 
 
 
 | 122 | > | # the alertTimeout values are halved. | 
 
 
 
 
 | 123 | > | # This is to escalate the alert quicker. | 
 
 
 
 
 | 124 | > | Monitor.CPU.threshold.LOWER=90 | 
 
 
 
 
 | 125 | > | Monitor.CPU.threshold.UPPER=99 | 
 
 
 
 
 | 126 | > |  | 
 
 
 
 
 | 127 | > | # timings of the alerts (in seconds) | 
 
 
 
 
 | 128 | > | Monitor.CPU.alertTimeout.NOTICE=60 | 
 
 
 
 
 | 129 | > | Monitor.CPU.alertTimeout.WARNING=900 | 
 
 
 
 
 | 130 | > | Monitor.CPU.alertTimeout.CAUTION=1800 | 
 
 
 
 
 | 131 | > | Monitor.CPU.alertTimeout.CRITICAL=3600 | 
 
 
 
 
 | 132 | > |  | 
 
 
 
 
 | 133 | > |  | 
 
 
 
 
 | 134 | > |  | 
 
 
 
 
 | 135 | > | ############################################################ | 
 
 
 
 
 | 136 | > | #### Alerter Configuration | 
 
 
 
 
 | 137 | > | ############################################################ | 
 
 
 
 
 | 138 | > |  | 
 
 
 
 
 | 139 | > | # alerters to run | 
 
 
 
 
 | 140 | > | Alerter.PluginsPackage=uk.ac.ukc.iscream.client.alerters | 
 
 
 
 
 | 141 | > | Alerter.Plugins=EMail;IRC; | 
 
 
 
 
 | 142 | > |  | 
 
 
 
 
 | 143 | > | # EMail alerter configuration | 
 
 
 
 
 | 144 | > | Alerter.EMail.level = CAUTION | 
 
 
 
 
 | 145 | > | Alerter.EMail.defaultDestList = dev@i-scream.org.uk | 
 
 
 
 
 | 146 | > | Alerter.EMail.sender = dev@i-scream.org.uk | 
 
 
 
 
 | 147 | > | Alerter.EMail.smtpServer = mercury.ukc.ac.uk | 
 
 
 
 
 | 148 | > | Alerter.EMail.subject = i-scream alert: %level% alert on %source% for %attributeName% | 
 
 
 
 
 | 149 | > | 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%. | 
 
 
 
 
 | 150 | > |  | 
 
 
 
 
 | 151 | > | # IRC alerter configuration | 
 
 
 
 
 | 152 | > | Alerter.IRC.level = OK | 
 
 
 
 
 | 153 | > | Alerter.IRC.IRCServer = killigrew.ukc.ac.uk | 
 
 
 
 
 | 154 | > | Alerter.IRC.IRCPort = 6667 | 
 
 
 
 
 | 155 | > | Alerter.IRC.nickList = iscreamBot;_iscreamBot;i-screamBot | 
 
 
 
 
 | 156 | > | Alerter.IRC.user = i-scream | 
 
 
 
 
 | 157 | > | Alerter.IRC.comment = i-scream alerting bot | 
 
 
 
 
 | 158 | > | Alerter.IRC.channel = #i-scream | 
 
 
 
 
 | 159 | > | Alerter.IRC.message = %level%: %attributeName% on %source% has passed %threshold%(%thresholdValue%) threshold with %value% - time till next alert (should one occur), %timeTillNextAlert% | 
 
 
 
 
 | 160 | > | Alerter.IRC.reconnectDelay = 30 | 
 
 
 
 
 | 161 | > | Alerter.IRC.startupNotice = i-scream alerting bot activated | 
 
 
 
 
 | 162 | > | Alerter.IRC.stopCommand = stop alerts | 
 
 
 
 
 | 163 | > | Alerter.IRC.startCommand = start alerts | 
 
 
 
 
 | 164 | > | Alerter.IRC.lastAlertCommand = last alert | 
 
 
 
 
 | 165 | > | Alerter.IRC.joinCommand = join | 
 
 
 
 
 | 166 | > | Alerter.IRC.nickChangeCommand = nick | 
 
 
 
 
 | 167 | > | Alerter.IRC.statCommand = statistics | 
 
 
 
 
 | 168 | > | Alerter.IRC.uptimeCommand = uptime | 
 
 
 
 
 | 169 | > | Alerter.IRC.timeSinceLastAlertCommand = time since last alert | 
 
 
 
 
 | 170 | > | Alerter.IRC.versionCommand = version | 
 
 
 
 
 | 171 | > | Alerter.IRC.helpCommand = help | 
 
 
 
 
 | 172 | > | Alerter.IRC.rejectMessage = sorry, I don't understand your request | 
 
 
 
 
 | 173 | > |  | 
 
 
 
 
 | 174 | > | ############################################################ | 
 
 
 
 
 | 175 | > |  |