[Nagios-devel] RE: [Nagios-users] status log documentation?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] RE: [Nagios-users] status log documentation?

Post by Guest »


> -----Original Message-----
> From: Skip Montanaro [mailto:[email protected]]
>=20
> 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 --
>=20
> 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]
>=20
> 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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked