status log documentation?
Marc Powell
mpowell at ena.com
Mon Sep 15 23:12:33 CEST 2003
Here's the format of status.sav --
http://www.nagios.org/faqs/viewfaq.php?faq_id=66&expand=false&showdesc=t
rue
that's only current info though. To determine historical data you would
need to parse nagios.log and archives/*. While I'm not logging all data
to nagios.log, the format looks pretty straightforward --
[[timestamp]] SERVICE ALERT: [hostname];[service];[STATE];[HARD |
SOFT];[check attempt?];[plugin output]
[[timestamp]] HOST ALERT: [hostname];[STATE];[HARD | SOFT];[check
attempt?];[plugin output]
--
Marc
> -----Original Message-----
> From: Skip Montanaro [mailto:skip at pobox.com]
> Sent: Monday, September 15, 2003 3:36 PM
> To: nagios-users at lists.sourceforge.net
>
> Is there any written documentation for various log files in
> /usr/local/nagios/var? They look like they might have (much of) the
> information I need to generate some local reports, but I'm not sure
how to
> interpret the fields. I peeked at the source in xsddefault.c which
looks
> like the file where some of that info is dumped. It writes out some
> variable names like time_up, time_down, time_unreachable, etc., but I
> can't
> tell how to figure out (for instance) that host X has been up 97.37%
of
> the
> time in the past week.
>
> Thanks,
>
> --
> Skip Montanaro
> Got gigs? http://www.musi-cal.com/
> http://www.mojam.com/
> Got spam? http://spambayes.sf.net/
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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