Page 1 of 1

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

Posted: Tue Mar 06, 2007 5:05 am
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]