Downtime history?
Marc Powell
marc at ena.com
Wed May 5 20:23:03 CEST 2004
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
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
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