Exclude Notifications during certian hours

Assaf Flatto nagios at flatto.net
Wed Feb 22 12:32:03 CET 2012


1) Create a time period that excludes the hours you do not want to be 
monitoring those hosts.
2) assign those hosts to a host group
3) assign a ping test with the modified timeperiod to those hosts .



Andrew Thompson wrote:
>
> Hi all,
>
> I have all my servers (approx. 70) monitored by PING using the 24x7 
> time period and notifications set to 24x7.
>
> Im happy with this as I want to know when my servers go down at all 
> times as a lot are critical and under strict SLA’s.
>
> However I have the need to exclude notifications for 1 physical host 
> and 6 virtual hosts that sit on this physical host during the hours of 
> 00:30-06:30 every night.
>
> These machines are not under any SLA and often reboot during the night 
> for various reasons and I’m done with waking up at all hours for these 
> non-critical servers!
>
> What is the quickest way for me to exclude these 7 hosts from 
> notifying during these hours whilst leaving all other servers at 24x7?
>
> Ive had a read the nagios docs but it didn’t really help me as I 
> didn’t really understand it.
>
> I have edited my server.cfg to show the scenario I want to achieve and 
> that can be found at the link below.
>
> http://dl.dropbox.com/u/895609/servers.cfg
>
> The layout etc is identical to my live configs, I have just edited the 
> number of hosts/names/contacts etc (the 3 hosts named NOT CRITICAL are 
> the example for the “7 hosts” I first talked about)
>
> What is the quickest and most effective way for me to keep checking 
> ALL my servers 24x7 and notifying 24x7, BUT exclude 7 particular 
> servers from checks/notifications between 00:30-06:30 every night?
>
> Thanks in advance for your help.
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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