Downtime history?
Spencer Horn
shorn at lssi.net
Wed May 5 20:29:02 CEST 2004
Thanks! I was grepping for the wrong thing.
Spencer
Marc Powell wrote:
>Spencer Horn <mailto:shorn at lssi.net> wrote:
>
>
>>Anyone know of a way to see hosts or services that have been placed
>>in downtime? After they have come out of downtime.
>>
>>
>
>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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040505/dff883fd/attachment.html>
More information about the Users
mailing list