Nagios 3 Patch xpddefault.c

Ethan Galstad nagios at nagios.org
Tue Mar 6 14:04:58 CET 2007


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: nagios at nagios.org
Website: http://www.nagios.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list