<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks! I was grepping for the wrong thing.<br>
<br>
Spencer<br>
<br>
Marc Powell wrote:
<blockquote
cite="mid370ACCFA5BB3B346A31222E5559BF91F1B6279@mismail2.ena.com"
type="cite">
<pre wrap="">Spencer Horn <<a class="moz-txt-link-freetext" href="mailto:shorn@lssi.net">mailto:shorn@lssi.net</a>> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Anyone know of a way to see hosts or services that have been placed
in downtime? After they have come out of downtime.
</pre>
</blockquote>
<pre wrap=""><!---->
Like below?
grep DOWNTIME /usr/local/nagios/var/archives/*
nagios-01-05-2003-00.log:[1041490815] SERVICE DOWNTIME ALERT: <HOST
REMOVED>;PING;STARTED; Service has entered a period of scheduled
downtime
nagios-01-05-2003-00.log:[1041512401] SERVICE DOWNTIME ALERT: <HOST
REMOVED>;PING;STOPPED; Service has exited from a period of scheduled
downtime
(and so on...)
That's the quickest way. It's also available via the Availiablity CGI
(Service Log Entries) as long as your report period contains the
downtime window.
05-05-2004 01:00:21 05-05-2004 13:20:09 0d 12h 19m 48s+ SERVICE DOWNTIME
START Start of scheduled downtime
(This particular one hasn't ended yet.)
--
Marc
</pre>
</blockquote>
<br>
</body>
</html>