Periodic downtime of a server

Klaus Umbach treibholz at sozial-inkompetent.de
Mon Sep 22 12:24:53 CEST 2008


On 22/09/08 11:26, Assaf Flatto wrote:
> It seems that you need to make dependencies for the services on the host status to limit the amount 
> of notifications .
> Also it is possible - if you have a set interval for each group ( set schedule ) you can define a 
> time period for each group to be checked.

I already have defined specific timeperiods. I don't want to limit the
notifications, I don't want to be notified at all between 3:30 and 4:30, no
matter if the host or a service has a problem.



> 
> # 'exchange-servers' timeperiod definition
> define timeperiod{
>         timeperiod_name exchange
>         alias           exchange reboot time 
>         sunday          00:00-24:00
>         monday          00:00-03:00,04:30-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
>         }
> 
> And that will help you have a sorted and set schedule for each reboot time.
> 
> Assaf
> 
> On Monday 22 September 2008 09:47:04 Klaus Umbach wrote:
> > Hi,
> >
> > How to I configure a periodic downtime of a server?
> >
> > My scenario:
> >
> > 7 groups of servers, each group gets rebooted on a specific weekday at 4am.
> > (windows-servers, they reboot them before they crash!)
> >
> > If I change the check_period of the host to a timeperiod that
> > excepts 3:30 - 4:30 I still get the notifications for all the services on
> > the host, because nagios does not know, the host is down.
> >
> > If I change the notification_period of the host, Nagios stops checking the
> > services when the host is down, but as some of them take a while to boot, I
> > get the notifications after the host is up again but not yet completelly
> > up.
> >
> > Can I somehow do a periodic scheduled downtime without using cron?
> >
> > Cheers
> > 	Klaus
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge Build the coolest Linux based applications with Moblin SDK & win
> > great prizes Grand prize is a trip for two to an Open Source event anywhere
> > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > 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
> 
> 
> 
> 
> 
> 
> IMPORTANT . this email and the information in it may be confidential, legally
> privileged and/or protected by law. It is intended solely for the use of the
> person to whom it is addressed. If you are not the intended recipient, please
> notify the sender immediately and do not disclose the contents to any other
> person, use it for any purpose, or store or copy the information in any medium.
> Please also delete all copies of this email and any attachments from your
> system.
> 
> We cannot guarantee the security or confidentiality of email communications. We
> do not accept any liability for losses or damages that you may suffer as a
> result of your receipt of this email including but not limited to computer
> service or system failure, access delays or interruption, data non-delivery or
> mis-delivery, computer viruses or other harmful components.
> 
> Copyright in this email and any attachments belong to Select Service Partner UK
> Limited. Should you communicate with anyone at Select Service Partner UK Limited by
> email, you consent to us monitoring and reading any such correspondence.
> 
> Nothing in this email shall be taken or read as suggesting, proposing or
> relating to any agreement concerted practice or other practice that could
> infringe UK or EC competition legislation.
> 
> Select Service Partner UK Limited is a company registered in England and Wales
> (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
>  
>  
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
> 

-- 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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