Hi Colin<br><br>One line per alert, with RECOVERED on the end.<br>Change it to something like this.<br> MAIL <a href="mailto:sms@somecompany.com">sms@somecompany.com</a> SERVICE=proliant FORMAT=SMS REPEAT=1440m RECOVERED<br>
<br>Cheers<br> Vernon<br><br><div class="gmail_quote">On Fri, Oct 8, 2010 at 10:40 AM, Colin Coe <span dir="ltr"><<a href="mailto:colin.coe@gmail.com">colin.coe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all<br>
<br>
The alerting is starting to take shape but I've a question regarding<br>
how the alerting works. If I have a stanza similar to the following,<br>
how is it evaluated? Once for all hosts, or for one host at a time?<br>
---<br>
HOST=%.*<br>
# Proliant tests<br>
MAIL <a href="mailto:sms@somecompany.com">sms@somecompany.com</a> SERVICE=proliant FORMAT=SMS REPEAT=1440m<br>
MAIL <a href="mailto:sms@somecompany.com">sms@somecompany.com</a> SERVICE=proliant FORMAT=SMS RECOVERED<br>
<br>
# conn where status is RED<br>
MAIL <a href="mailto:sms@somecompany.com">sms@somecompany.com</a> COLOR=red SERVICE=conn EXPAGE=dev REPEAT=1440m<br>
MAIL <a href="mailto:sms@somecompany.com">sms@somecompany.com</a> COLOR=red SERVICE=conn EXPAGE=dev RECOVERED<br>
<br>
# conn where status is RED (dev/test)<br>
MAIL <a href="mailto:email@somecompany.com">email@somecompany.com</a> COLOR=red SERVICE=conn PAGE=dev REPEAT=1440m<br>
MAIL <a href="mailto:email@somecompany.com">email@somecompany.com</a> COLOR=red SERVICE=conn PAGE=dev RECOVERED<br>
<br>
# cpu,disk,memory where status is RED<br>
MAIL <a href="mailto:sms@somecompany.com">sms@somecompany.com</a> COLOR=red SERVICE=cpu,disk,memory<br>
EXPAGE=dev REPEAT=1440m<br>
MAIL <a href="mailto:sms@somecompany.com">sms@somecompany.com</a> COLOR=red SERVICE=cpu,disk,memory<br>
EXPAGE=dev RECOVERED<br>
<br>
# Dev servers<br>
MAIL <a href="mailto:email@somecompany.com">email@somecompany.com</a> COLOR=red SERVICE=cpu,disk,memory<br>
PAGE=dev REPEAT=1440m<br>
MAIL <a href="mailto:email@somecompany.com">email@somecompany.com</a> COLOR=red SERVICE=cpu,disk,memory<br>
PAGE=dev RECOVERED<br>
<br>
# Non-dev status YELLOW<br>
MAIL <a href="mailto:email@somecompany.com">email@somecompany.com</a> COLOR=yellow<br>
SERVICE=cpu,disk,memory REPEAT=1440m DURATION>30m<br>
MAIL <a href="mailto:email@somecompany.com">email@somecompany.com</a> COLOR=yellow<br>
SERVICE=cpu,disk,memory RECOVERED<br>
---<br>
<br>
Also, I've noticed that when a fault occurs I get two emails (or sms')<br>
and another when the fault is rectified. I'm thinking this is because<br>
of the 'RECOVERED' line but i thought this would only trigger when the<br>
fault goes. Have I misunderstood?<br>
<br>
Thanks<br>
<br>
CC<br>
<font color="#888888"><br>
--<br>
RHCE#805007969328369<br>
<br>
To unsubscribe from the xymon list, send an e-mail to<br>
<a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
<br>
<br>
</font></blockquote></div><br>