<div dir="ltr">I think this can be explained from the man page:<div><br></div><div>"IGNORE - This is used to define a recipient that does NOT trigger any alerts, and also terminates the search for more recipients."</div><div><br></div><div>What this means is that the rule matched the host "somehost" but the alert for the recipient was suppressed.  The fact that it matched means that the UNMATCHED rule will not be invoked.</div><div><br></div><div>By contrast, the EXHOST causes the rule to not match "somehost", hence will match the UNMATCHED rule.</div><div><br></div><div>I hope this explains.</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 31 July 2015 at 16:34, Märt Laak <span dir="ltr"><<a href="mailto:mart.laak@active.ee" target="_blank">mart.laak@active.ee</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Henrik and others who help to develop this invaluable piece of software, Xymon!<br>
<br>
I've been used BB more than 15 years for now and now trying to migrate to Xymon because it seems more flexible and powerful to me. Now I'm in the middle of converting my existing (fairly complex) bbwarnrules to alerts.cfg<br>
<br>
Everything works great except some strange to me cases with UNMATCHED.<br>
<br>
For example, if you look at these two configurations - they seem similar to human eye:<br>
<br>
1: using IGNORE<br>
---<br>
HOST=*<br>
  IGNORE HOST=somehost<br>
  MAIL <a href="mailto:admin@domain.com" target="_blank">admin@domain.com</a><br>
<br>
HOST=*<br>
  MAIL <a href="mailto:supervisor@domain.com" target="_blank">supervisor@domain.com</a> UNMATCHED<br>
---<br>
<br>
2: using EX...<br>
---<br>
HOST=* EXHOST=somehost<br>
  MAIL <a href="mailto:admin@domain.com" target="_blank">admin@domain.com</a><br>
<br>
HOST=*<br>
  MAIL <a href="mailto:supervisor@domain.com" target="_blank">supervisor@domain.com</a> UNMATCHED<br>
---<br>
<br>
However, the first (IGNORE HOST) construction does NOT send alert to <a href="mailto:supervisor@admin.com" target="_blank">supervisor@admin.com</a> in case of somehost alert, as expected.<br>
<br>
Is it bug or is there some explanation for this behavior?<br>
<br>
With kindest regards,<br>
Märt<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div><br></div>