<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Is there any equivalent to BB's notifications exclusions?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi all,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I would like to migrate my notifications rules from BB Server to Hobbit / Xymon Server.  I use the following BB syntax extensively:</FONT></P>

<P><FONT SIZE=2 FACE="Arial"># You can also write rules to exclude recipients based on the</FONT>

<BR><FONT SIZE=2 FACE="Arial">#       previous syntax. Just prefix with ! and any recipient</FONT>

<BR><FONT SIZE=2 FACE="Arial">#       specified in the rule line will be removed from the</FONT>

<BR><FONT SIZE=2 FACE="Arial">#       list of recipients that matches the regular rules</FONT>

<BR><FONT SIZE=2 FACE="Arial">#</FONT>

<BR><FONT SIZE=2 FACE="Arial">#       for all hosts don't send any notifications from </FONT>

<BR><FONT SIZE=2 FACE="Arial">#       12AM to 6AM and 8PM to 12AM</FONT>

<BR><FONT SIZE=2 FACE="Arial">#</FONT>

<BR><FONT SIZE=2 FACE="Arial"># !*;;*;;*;0000-0600 2000-2359;*</FONT>

<BR><FONT SIZE=2 FACE="Arial">#</FONT>

<BR><FONT SIZE=2 FACE="Arial">#       for all hosts that start with host, don't send any</FONT>

<BR><FONT SIZE=2 FACE="Arial">#       notifications on sat & sun to robert@localhost</FONT>

<BR><FONT SIZE=2 FACE="Arial">#</FONT>

<BR><FONT SIZE=2 FACE="Arial"># !host*;;*;;0 6;*;robert@localhost</FONT>

<BR><FONT SIZE=2 FACE="Arial">#</FONT>

<BR><FONT SIZE=2 FACE="Arial">#       To temporarely disable notifications for a host</FONT>

<BR><FONT SIZE=2 FACE="Arial">#</FONT>

<BR><FONT SIZE=2 FACE="Arial"># !host1;;*;;*;*;*</FONT>

<BR><FONT SIZE=2 FACE="Arial">#</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Is there any equivalent to this in Hobbit?  I can't see one in the man pages.  This is very useful for making sure people don't get woken up in the middle of the night for issues that are non-critical at night time…  Or for certain people who just should never get alerts at night time or the weekend (or outside office hours).  Is the best solution a macro that one uses instead of an e-mail address in the MAIL lines, where the macro contains a TIME=timespecification rule?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Many thanks,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">SebA</FONT>

<BR><FONT COLOR="#808080" SIZE=2 FACE="Arial"> </FONT>
</P>

</BODY>
</HTML>