Exclude monitoring in holidays
Leonardo Bacha Abrantes
leonardo at lbasolutions.com
Thu May 3 17:21:41 CEST 2012
Many thanks friends!
:p
On Thu, May 3, 2012 at 9:45 AM, Claudio Kuenzler <ck at claudiokuenzler.com>wrote:
> First you create a timeperiod which contains all the holidays you want to
> specify. I guess you already did that.
>
> Let's assume you called this timeperiod "*myholidays*".
> Now you need to exclude this from your usual check timeperiod (24x7 by
> default):
>
> # This defines a timeperiod where all times are valid for checks,
> # notifications, etc. The classic "24x7" support nightmare. :-)
> define timeperiod{
> timeperiod_name 24x7
> alias 24 Hours A Day, 7 Days A Week
> exclude myholidays
> sunday 00:00-24:00
> monday 00:00-24:00
> tuesday 00:00-24:00
> wednesday 00:00-24:00
> thursday 00:00-24:00
> friday 00:00-24:00
> saturday 00:00-24:00
> }
>
> As you see, the important configuration here is the "exclude" line. It's
> actually pretty easy and you can combine many exclusions like this.
>
>
>
> On Thu, May 3, 2012 at 2:03 PM, Leonardo Bacha Abrantes <
> leonardo at lbasolutions.com> wrote:
>
>> Hey people!
>>
>> I don't want that nagios monitoring hosts/services in holidays that I
>> specified.
>> Does anyone know if is it possible, if so, how can I do that ?
>>
>> Many thanks!
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120503/50a4b88a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list