<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5764" name=GENERATOR></HEAD>
<BODY text=#000099 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=782151817-19052009><FONT face=Arial
color=#0000ff size=2>From the docs:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=782151817-19052009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=782151817-19052009><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 16px 'times new roman'; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><SPAN
class=Apple-style-span style="FONT-SIZE: 11px; FONT-FAMILY: verdana">
<P><STRONG><U>Fixed vs. Flexible Downtime</U></STRONG></P>
<P>When you schedule downtime for a host or service through the web interface
you'll be asked if the downtime is fixed or flexible. Here's an explanation of
how "fixed" and "flexible" downtime differs:</P>
<P>"Fixed" downtime starts and stops at the exact start and end times that you
specify when you schedule it. Okay, that was easy enough...</P>
<P>"Flexible" downtime is intended for times when you know that a host or
service is going to be down for X minutes (or hours), but you don't know exactly
when that'll start. When you schedule flexible downtime, Nagios will start the
scheduled downtime sometime between the start and end times you specified. The
downtime will last for as long as the duration you specified when you scheduled
the downtime. This assumes that the host or service for which you scheduled
flexible downtime either goes down (or becomes unreachable) or goes into a
non-OK state sometime between the start and end times you specified. The time at
which a host or service transitions to a problem state determines the time at
which Nagios actually starts the downtime. The downtime will then last for the
duration you specified, even if the host or service recovers before the downtime
expires. This is done for a very good reason. As we all know, you can think
you've got a problem fixed (and restart a server) ten times before it actually
works right. Smart, eh?</P></SPAN></SPAN></SPAN></DIV>
<DIV><SPAN class=782151817-19052009><FONT face=Arial color=#0000ff
size=2>Flexible means nagios expects the host to go down within the "window" you
have specified for the duration you specified.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Andrew Davis [mailto:nccomp@gmail.com]
<BR><B>Sent:</B> Tuesday, May 19, 2009 9:59 AM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] Downtime
discrepancy<BR></FONT><BR></DIV>
<DIV></DIV>Looking at my hosts that are scheduled for downtime, I noticed
this:<BR><BR>ns2 05-19-2009 10:55:04
adavis Rebuilding with CentOS 05-19-2009
10:54:43 05-19-2009 12:54:43
Flexible 0d 3h 0m 0s 49
N/A Delete/Cancel This Scheduled Downtime Entry<BR><BR>How is
it possible to have downtime scheduled from 10:54:43 to 12:54:43 yet have a
duration of 3 hours??? Something appears to be amiss.<BR><BR>In fact, even
though it was marked as flexible and with a duration of 3 hours, 12:54:43 just
passed and the system is no longer listed as being under downtime, yet it should
be as it was scheduled for 3 hours of downtime.<BR><PRE class=moz-signature cols="72">--
A. Davis
Email: <A class=moz-txt-link-abbreviated href="mailto:nccomp@gmail.com">nccomp@gmail.com</A>
"There is no limit to what a man can accomplish
if he doesn't care who gets the credit." - Ronald Reagan
</PRE></BODY></HTML>