<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi!<br>
</p>
<p><br>
</p>
<p>I've been using Xymon for years and have recently begun to play around with the alerts.cfg, however, there is something I have been banging my head against the wall with, for weeks now. So I am reaching out to this list in the hopes that someone out there
 might have the key to save me from eternal frustration.<br>
</p>
<p><br>
</p>
<p>*snippet from my alerts.cfg*<br>
</p>
<p><br>
</p>
<div><em>HOST=* RECOVERED=1</em></div>
<div><em>        IGNORE HOST=*</em></div>
<div><br>
</div>
<div><em>HOST=one-host SERVICE=http</em></div>
<div><em>        MAIL someuser@domain.local COLOR=red</em></div>
<div><em>        MAIL </em><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><em>someuser@domain</em></span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><em>.local</em></span><em>
 DURATION>5 COLOR=red</em></div>
<div><br>
<br>
</div>
<div>What I'm trying to accomplish is to stop the "I'm OK - recovered" messages. Those messages are irrelevant, so I want those filtered out. The problem though, is that the logic is completely off on this point. The first rule for some reason takes presedense,
 even though I have explicitly told it to only use that rule IF the host has recovered, no? <br>
</div>
<div><br>
</div>
<div>I want it to skip that rule, if it has not yet recovered, send mail to the first user immediately, then to the other user after 5 minutes, but leave those users alone if the service is OK again. Is there a way to accomplish this? <br>
</div>
<div><br>
</div>
<div>Sincerely, <br>
</div>
<div>Even<br>
</div>
<p><br>
</p>
</body>
</html>