patch: another small segfault fix

Matthew Kent mkent at magoazul.com
Thu Sep 23 03:44:12 CEST 2004


Another small fix for a case when 

process_performance_data=1
host_perfdata_file=/tmp/foo.log 
service_perfdata_file=/tmp/foo.log

are defined in nagios.cfg but no host_perfdata_file_template or
service_perfdata_file_template are defined.

Rather than dropping the attempt to record performance data  when things
are wrongly configured (as it looks like the idea of the current code is
to do) a default value for both could be defined.

Patch included for either option against latest cvs.
-- 
Matthew Kent <mkent at magoazul.com>
http://magoazul.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-2.0a1-perf_fix.patch
Type: text/x-patch
Size: 1174 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20040922/4ee8ce60/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-2.0a1-perf_fix_defaults.patch
Type: text/x-patch
Size: 1938 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20040922/4ee8ce60/attachment-0001.bin>


More information about the Developers mailing list