R: How to Schedule regular weekly downtime?
Marco Borsani
m.borsani at it.net
Mon Nov 23 10:44:05 CET 2009
Excuse me, is it not simplest use a timeperiod like follow:
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-02:00,03:00-24:00
}
Regards
Marco
Da: Seth Simmons [mailto:ssimmons at cymfony.com]
Inviato: lunedì 23 novembre 2009 2.12
A: les at deltatechnicalservices.com; Nagios Users Mailinglist
Oggetto: Re: [Nagios-users] How to Schedule regular weekly downtime?
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:les at deltatechnicalservices.com]
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
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/20091123/60b97132/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- 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