<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000099">
Thanks. The one time I don't read the docs first and that proves to be
the solution... <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>
<br>
<br>
Chris Waters wrote:
<blockquote
cite="mid:30D62F21FD4BE1448C156D2A3E30039705FD8003@jwmail01.jeld-wen.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.5764" name="GENERATOR">
<div dir="ltr" align="left"><span class="782151817-19052009"><font
color="#0000ff" face="Arial" size="2">From the docs:</font></span></div>
<div dir="ltr" align="left"><span class="782151817-19052009"></span> </div>
<div dir="ltr" align="left"><span class="782151817-19052009"><span
class="Apple-style-span"
style="word-spacing: 0px; font-family: 'times new roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 16px; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2;"><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 color="#0000ff"
face="Arial" 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" dir="ltr" align="left" lang="en-us">
<hr tabindex="-1"><font face="Tahoma" size="2"><b>From:</b> Andrew
Davis [<a class="moz-txt-link-freetext" href="mailto:nccomp@gmail.com">mailto:nccomp@gmail.com</a>] <br>
<b>Sent:</b> Tuesday, May 19, 2009 9:59 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
<b>Subject:</b> [Nagios-users] Downtime discrepancy<br>
</font><br>
</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 moz-do-not-send="true" 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>
</blockquote>
</body>
</html>