[Nagios-users] status log documentation?

Marc Powell mpowell at ena.com
Mon Sep 15 23:49:16 CEST 2003



> -----Original Message-----
> From: Skip Montanaro [mailto:skip at pobox.com]
> 
>     Marc> that's only current info though. To determine historical
data
> you
>     Marc> would need to parse nagios.log and archives/*. While I'm not
>     Marc> logging all data to nagios.log, the format looks pretty
>     Marc> straightforward --
> 
>     Marc> [[timestamp]] SERVICE ALERT:
[hostname];[service];[STATE];[HARD
> |
>     Marc> SOFT];[check attempt?];[plugin output]
>     Marc> [[timestamp]] HOST ALERT: [hostname];[STATE];[HARD |
> SOFT];[check
>     Marc> attempt?];[plugin output]
> 
> What do you mean when you say, "While I'm not logging all data to
> nagios.log..."?  I understand that you peeked at the nagios.log file
and
> came up with a plausible description of the format, but don't
understand
> how
> that phrase related to that fact.  Maybe my internal English parser
has a
> grouping error and I'm just reading that sentence wrong.

I'm not logging things like host retries, passive service checks or
external commands. There are several other options in nagios.cfg related
to logging to nagios.log that can be enabled or disabled in your
environment.

--
Marc


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list