Scheduling Daily Downtime?

Marc Powell marc at ena.com
Tue Jun 15 17:32:54 CEST 2004


Thomas Quinlan <mailto:corsis_tom at yahoo.com> wrote:
> We have a server that is monitored in Nagios, and it needs to be down
> for half an hour every evening.  I've consulted the documentation,
> and I understand the difference between "fixed" and "flexible". 
> However, what I want is repetitive "fixed" downtime.  As it stands
> right now, every day I have to go in and turn on downtime, or else I
> get woken up at 3.30am when the alerts go off.     
> 
> How do I set it up so that downtime is scheduled for a particular
> server every day at the same time? 

You could schedule a cron job to send the appropriate external commands
to nagios _or_ you could define a time period that excludes your
scheduled downtime and assign it to the notification_period for the host
and services so you don't get notified during that window or assign it
to the check_period for the services so that they just aren't checked
during that window.

http://www.nagios.org/faqs/viewfaq.php?faq_id=80

--
Marc



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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