Question: Service Availability Report
Marc Powell
marc at ena.com
Thu Oct 14 17:55:59 CEST 2004
----Original Message----
From: Ronald [mailto:onramp at theoffice.net]
Sent: Wednesday, October 13, 2004 5:13 PM
To: Marc Powell; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Question: Service Availability Report
> > > Q2: For the different service I'm getting the following CRITICAL
state
> > > breakdown:
> > >
> > > State,Type / Reason,Time,% Total Time,% Known Time
Unscheduled,49710d 5h
> > > 25m 40s,-0.145%,-0.145%, Scheduled,0d 1h 51m 6s,0.257%,0.257%,
> > >
> > > Total 0d 0h 48m 30s 0.112% 0.112%
> > >
> > > How did it get "49710d 5h 25m 40s" ??
> > >
> > > BTW I've had a look through all system clocks and it's synced.
> >
> > That's bizarre and something I have not ever seen before. Is there
> > anything unusual about your log files? Did you change the log
rotation
> > rate at any time or have a massive time slew? What was your
reporting
> > period and report options? Is this a new service or one that's
existed
> > for the entire duration of your reporting period?
>
> 1) There is maybe - 12 services and 12 hosts - this is the only
service
> showing this behaviour 2) No time slew. As an aside, the system clock
is
> synced via NTP nightly 3) Log rotation has remained the same
> 4) It's a new service which has existed for more the last 6 weeks. The
report
> was generated for the last month.
>
> 5) Reporting options:
>
> Assume initial State: YEs
> First assumed state: Service OK
> Report period: Current time range
> Assume state retention: Yes
> Backtracked archives: 1
>
> Browsing through the service log entries, I noticed the following:
>
> Event Start Time,Event End Time,Event Duration,Event/State
Type,Event/State
> Information
>
> 13-10-2004 03:36:12,13-10-2004 03:42:22,0d 0h 6m 10s,SERVICE
CRITICAL,Connection refused by host
> 13-10-2004 03:42:22,01-10-2004 00:00:00,49698d 2h 45m 54s+ ,SERVICE
OK,HTTP ok: HTTP/1.1 200 OK - 4.735
> second response time
>
> The entries are for October - but the report was generated for the
month of
> September.
>
> Clues as to what I'm doing wrong?
Well, I think it's pretty clear that the log entry where the date goes
backward by 12 days is the problem but why it would log that without the
date on the machine actually changing is beyond me. Can you find the
corresponding entries in your nagios.log file or archives and post
those, along with a few entries on either side for context?
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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