Re: [Nagios-users] Exclude monitoring in holidays

2012-05-03 Thread Leonardo Bacha Abrantes
Many thanks friends!

:p

On Thu, May 3, 2012 at 9:45 AM, Claudio Kuenzler 
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
> thursday00:00-24:00
> friday  00:00-24:00
> saturday00: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 <
> leona...@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@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@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@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

Re: [Nagios-users] Exclude monitoring in holidays

2012-05-03 Thread Claudio Kuenzler
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
thursday00:00-24:00
friday  00:00-24:00
saturday00: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 <
leona...@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@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@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

Re: [Nagios-users] Exclude monitoring in holidays

2012-05-03 Thread Leonardo Bacha Abrantes
Hey friends,

many thanks!


On Thu, May 3, 2012 at 10:18 AM, steve f  wrote:

>  You could probably set up a time period object with a series of exclusion
> dates.  Have the check(s) run every day except the days you dont want to
> run.  Or you could, just before the holiday in question, put the check into
> scheduled down time.  That could be time consumong depending on how many
> hosts / checks you have
>
> Here is info on doing the time period set up
>
> http://nagios.sourceforge.net/docs/3_0/timeperiods.html
> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod
>
> Good Luck,
> Steve
>
> --
> From: leona...@lbasolutions.com
> Date: Thu, 3 May 2012 09:03:19 -0300
>
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Exclude monitoring in holidays
>
> 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@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@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@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

Re: [Nagios-users] Exclude monitoring in holidays

2012-05-03 Thread steve f

You could probably set up a time period object with a series of exclusion 
dates.  Have the check(s) run every day except the days you dont want to run.  
Or you could, just before the holiday in question, put the check into scheduled 
down time.  That could be time consumong depending on how many hosts / checks 
you have

Here is info on doing the time period set up 

http://nagios.sourceforge.net/docs/3_0/timeperiods.html
http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod

Good Luck,
Steve

From: leona...@lbasolutions.com
Date: Thu, 3 May 2012 09:03:19 -0300
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Exclude monitoring in holidays

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@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@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

Re: [Nagios-users] Exclude monitoring in holidays

2012-05-03 Thread RichTea
On Thu, May 3, 2012 at 1:03 PM, Leonardo Bacha Abrantes <
leona...@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 ?
>
>
HI Leonardo,

You could schedule downtime if you just dont want the alerts going out.
Or disable the checks if you do not want them running at all.

you can use a script that piped in the the Nagios command file to automate
ether of the above.


Ritchie,
--
<-- http://23.me.uk/2 -->
<--Time flies like an arrow; fruit flies like a banana.  -->


> 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@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@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

Re: [Nagios-users] Exclude monitoring in holidays

2012-05-03 Thread FTL Nagios
http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod

 

 

From: Leonardo Bacha Abrantes [mailto:leona...@lbasolutions.com] 
Sent: 03 May 2012 13:03
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Exclude monitoring in holidays

 

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@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

[Nagios-users] Exclude monitoring in holidays

2012-05-03 Thread Leonardo Bacha Abrantes
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@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