You could use a time exclusion in nagios.
In your time periods, make a copy of 24x7 calling it something different and
use the exclusion.
Then, with your server/services, change the notification_period to that new
time period to avoid receiving notifications during the reboot.
example, if you want to exclude notifications from 2am-3am, you would do this:
define timeperiod{
timeperiod_name windows-update
alias windows-update
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
exclude reboot
}
define timeperiod{
timeperiod_name reboot
alias reboot
saturday 02:00-03:00
}
Nagios will still show host and service messages, but won't send notifications
in that time period.
http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod
________________________________
From: Les Fenison [mailto:[email protected]]
Sent: Sat 11/21/2009 4:46 PM
To: Nagios Users Mailinglist
Subject: [Nagios-users] How to Schedule regular weekly downtime?
I am monitoring a server that runs windows update and reboots every week
on Saturday at the same time. Is there any way to schedule this
downtime without having to go enter it every week manually?
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
[email protected]
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
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
[email protected]
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