Re: [Nagios-devel] BUG/PATCH/WORKAROUND: Problem with Nagios state

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

Re: [Nagios-devel] BUG/PATCH/WORKAROUND: Problem with Nagios state

Post by Guest »

bruce wrote:
>
> As many people have noticed over time, there is a persistent problem
> with Nagios not writing out the status retention file in some
> installations.
>
> The problem is not with the state retention code as such, but in how
> Nagios carefully tries to write out the file to a temporary file (good)
> first, but uses a compiled-in temporary file over the configured
> 'temp_file' variable for the state_retention file (bad).
>
[snip]
>
> The attached patch (against both 2.0b4 and latest 2.1) ensures that the
> state retention code uses the file pointed to by the configuration's
> 'temp_file' variable instead of the compiled 'tempfile'.
>
> --==--
> Bruce.
>

Good catch! I'll get this in CVS shortly.


Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked