Many thanks friends!<br><br>:p<br><br><div class="gmail_quote">On Thu, May 3, 2012 at 9:45 AM, Claudio Kuenzler <span dir="ltr"><<a href="mailto:ck@claudiokuenzler.com" target="_blank">ck@claudiokuenzler.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">First you create a timeperiod which contains all the holidays you want to specify. I guess you already did that.<br><br>
Let's assume you called this timeperiod "<i>myholidays</i>".<br>Now you need to exclude this from your usual check timeperiod (24x7 by default):<br>
<br><font style="font-family:courier new,monospace" size="2"># This defines a timeperiod where all times are valid for checks,<br># notifications, etc. The classic "24x7" support nightmare. :-)<br>define timeperiod{<br>
timeperiod_name 24x7<br> alias 24 Hours A Day, 7 Days A Week<br> exclude myholidays<br> sunday 00:00-24:00<br> monday 00:00-24:00<br> tuesday 00:00-24:00<br>
wednesday 00:00-24:00<br> thursday 00:00-24:00<br> friday 00:00-24:00<br> saturday 00:00-24:00<br> }</font><br><br>As you see, the important configuration here is the "exclude" line. It's actually pretty easy and you can combine many exclusions like this.<br>
<br><br><br><div class="gmail_quote"><div class="im">On Thu, May 3, 2012 at 2:03 PM, Leonardo Bacha Abrantes <span dir="ltr"><<a href="mailto:leonardo@lbasolutions.com" target="_blank">leonardo@lbasolutions.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hey people!<br><br>I don't want that nagios monitoring hosts/services in holidays that I specified.<br>
Does anyone know if is it possible, if so, how can I do that ?<br>
<br>Many thanks!<br>
<br></div></div><div class="im">------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></div></blockquote></div><br>
<br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>