BUG/PATCH/WORKAROUND: Problem with Nagios state retention
Ethan Galstad
nagios at nagios.org
Fri Apr 7 15:59:54 CEST 2006
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: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
More information about the Developers
mailing list