<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div><br></div><div>I am trying to figure out the most elegant/readable way to specify a timeperiod (for notifications), which exclude a small timespan each day.</div><div><br></div><div>In the 3.2 docs [1] there is mention of the "exclude" directive (which does not reliably work yet, as stated in the releaselog for 3.2.0 [1]) and a - more intriguing - "[exception]" directive.</div><div><br></div><div>If I understand the former correctly, it's supposed to work like this (for creating a "blind-spot" of 5 minutes daily):</div><div><br></div><div><font class="Apple-style-span" face="Courier">define timeperiod{<br>        timeperiod_name <b>exceptions_for_specific_service</b><br>        alias           Exception for specific service<br>        day 1 - -1      06:35-06:40     # 06:35 - 06:40 daily<br>        }   <br><br>define timeperiod{<br>        timeperiod_name 24x7_exceptions_for_nlc_epichannel<br>        alias           24/7, but excluding 06:35 - 06:40 daily<br>        use             24x7<br>        </font><b><font class="Apple-style-span" face="Courier">exclude</font></b><font class="Apple-style-span" face="Courier">         exceptions_for_specific_service<br>        }   <br></font><br></div><div><br></div><div>However, I fail at using the other directive <b>[exception].</b> How is this supposed to work? There seems to be no details or examples anywhere...</div><div><br></div><div>Can any of you please share a working example? Or point to some documentation I missed?</div><div><br></div><div>Thanks for any help!</div><div><br></div><div>Gustav</div><div><br></div><div><br></div><div>[1]<span class="Apple-tab-span" style="white-space:pre">        <a href="http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod">http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod</a></span></div><div>[2]<span class="Apple-tab-span" style="white-space:pre">     <a href="http://www.nagios.org/projects/nagioscore/history/core-3x">http://www.nagios.org/projects/nagioscore/history/core-3x</a></span> "Known issue: Service checks that are defined with timeperiods that contain "exclude" directi ves are incorrectly re-scheduled. Don't use these for now - we'll get this fixed for 3.4"</div></body></html>