Re: [Nagios-devel] Nagios 3 Patch xpddefault.c

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] Nagios 3 Patch xpddefault.c

Post by Guest »

Joerg Linge wrote:
> Hi Ethan, Hi List
>
> If the host_perfdata_file_processing_command is executed, the
> filehandle for service_perfdata_file is also closed and reopened. So
> the host_perfdata_file_processing_command also truncates the
> service_perfdata_file.
>
> Jörg
>

Thanks for the note. I remember adding the functionality to close both
files due to someone's request in the past, but I failed to realize that
reopening files with "w" will truncate them. Will be fixed 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