94 |
|
############################################################ |
95 |
|
|
96 |
|
# The default filter for a new host |
97 |
< |
Host.filter=filter1 |
97 |
> |
Host.filter=filter1; |
98 |
|
|
99 |
|
# The default update times for a new host |
100 |
|
Host.UDPUpdateTime=10 |
113 |
|
|
114 |
|
# the monitors to run |
115 |
|
Monitor.PluginsPackage=uk.ac.ukc.iscream.client.monitors |
116 |
< |
Monitor.Plugins=CPU; |
116 |
> |
Monitor.Plugins=CPU;Heartbeat |
117 |
|
|
118 |
< |
# CPU monitor configuration |
118 |
> |
## CPU monitor configuration |
119 |
|
# threshold values |
120 |
|
# |
121 |
|
# note: if the UPPER threshold is broken, |
130 |
|
Monitor.CPU.alertTimeout.CAUTION=1800 |
131 |
|
Monitor.CPU.alertTimeout.CRITICAL=3600 |
132 |
|
|
133 |
+ |
## Heartbeat monitor configuration |
134 |
+ |
# threshold values |
135 |
+ |
# |
136 |
+ |
# note: if the UPPER threshold is broken, |
137 |
+ |
# the alertTimeout values are halved. |
138 |
+ |
# This is to escalate the alert quicker. |
139 |
+ |
Monitor.Heartbeat.checkPeriod=50 |
140 |
+ |
Monitor.Heartbeat.threshold.LOWER=120 |
141 |
+ |
Monitor.Heartbeat.threshold.LOWER=300 |
142 |
|
|
143 |
+ |
# timings of the alerts (in seconds) |
144 |
+ |
Monitor.Heartbeat.alertTimeout.NOTICE=60 |
145 |
+ |
Monitor.Heartbeat.alertTimeout.WARNING=900 |
146 |
+ |
Monitor.Heartbeat.alertTimeout.CAUTION=1800 |
147 |
+ |
Monitor.Heartbeat.alertTimeout.CRITICAL=3600 |
148 |
|
|
149 |
+ |
# this means it will reach a FINAL level, |
150 |
+ |
# and thus the host will be removed from the monitor list, |
151 |
+ |
# if the highest level alert is reached and occours this |
152 |
+ |
# number of times. |
153 |
+ |
# |
154 |
+ |
# int this setup, that means 5 CRITICAL alerts would occour |
155 |
+ |
# on a Heartbeat before reaching FINAL. |
156 |
+ |
# If this value is wrong or not present, FINAL is never reached |
157 |
+ |
# |
158 |
+ |
Monitor.Heartbeat.reachFINALcount=5 |
159 |
+ |
|
160 |
|
############################################################ |
161 |
|
#### Alerter Configuration |
162 |
|
############################################################ |
163 |
+ |
# The following var's are understood by ALL alerters for messages |
164 |
+ |
# |
165 |
+ |
# %level% - the alert level (eg, WARNING) |
166 |
+ |
# %threshold% - the threshold broken (eg, LOWER) |
167 |
+ |
# %source% - the source of the alert (eg, raptor.ukc.ac.uk) |
168 |
+ |
# %value% - the value reached (eg, 95) |
169 |
+ |
# %thresholdValue% - the value of the threshold broken (eg, 90) |
170 |
+ |
# %attributeName% - the attribute that has caused the alert (eg, CPU User) |
171 |
+ |
# %timeTillNextAlert% - the time the next alert will be sent out |
172 |
+ |
# %timeSinceFirstAlert% - the time elapsed since the first alert for this problem |
173 |
+ |
# %timeOfFirstAlert% - the time the first alert was sent |
174 |
+ |
# |
175 |
|
|
176 |
|
# alerters to run |
177 |
|
Alerter.PluginsPackage=uk.ac.ukc.iscream.client.alerters |
179 |
|
|
180 |
|
# EMail alerter configuration |
181 |
|
Alerter.EMail.level = CAUTION |
182 |
< |
Alerter.EMail.destList = dev@i-scream.org.uk |
182 |
> |
Alerter.EMail.defaultDestList = dev@i-scream.org.uk |
183 |
|
Alerter.EMail.sender = dev@i-scream.org.uk |
184 |
|
Alerter.EMail.smtpServer = mercury.ukc.ac.uk |
185 |
|
Alerter.EMail.subject = i-scream alert: %level% alert on %source% for %attributeName% |