scheduling recurring downtime?
Russell Adams
RLAdams at Kelsey-Seybold.com
Mon Jul 14 19:10:23 CEST 2003
I had a system that used to reboot nightly at 1 AM.
I made it a custom timeperiod for just that host, which excluded
12AM-2AM. If it didn't reboot properly, we'd get notified at 2 AM,
otherwise no notifications went out.
Using a timeperiod is quick enough, there's no need for external
scripts.
Russell
On Mon, Jul 14, 2003 at 11:49:20AM -0500, Jason Payne - iLand Internet Solutions Corp. wrote:
> There are some event handler scripts that you can get that disable and enable notifications. You could run the one to disable notifications on a cron, then rerun it 5 minutes later. It should be simple to edit the script so that it disable notifications just for the one host and all the services.
>
> Weezle
>
> -----Original Message-----
> From: Skip Montanaro [mailto:skip at pobox.com]
> Sent: Monday, July 14, 2003 9:16 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] scheduling recurring downtime?
>
>
>
> One machine here gets rebooted every Sunday at 1PM. It's down for a couple
> minutes at most, but our in-house monitor still notices. More generally,
> our regular maintenance window is Sunday from 1AM to noon, so machines are
> sometimes taken down then. When I switch over to Nagios I'd like to avoid
> such spurious notices. I know how to schedule a specific downtime period.
> Is there a way to schedule a recurring downtime short of setting up a cron
> job to submit it?
>
> Thanks,
>
> --
> Skip Montanaro
> Got gigs? http://www.musi-cal.com/
> Got spam? http://spambayes.sf.net/
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> _______________________________________________
> 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 sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> _______________________________________________
> 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 sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
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