Patch against bug in processing passive checks with new IPC method

Ethan Galstad nagios at nagios.org
Tue May 1 00:25:56 CEST 2007


Hendrik Baecker wrote:
> Joerg Linge schrieb:
>> Am Mittwoch, 18. April 2007 16:32 schrieb Ethan Galstad:
>> The default value for check_result_path is /var/spool/nagios/checkresults if you run configure without options.
>> I think the better way is to use $prefix/var/spool/checkresults as default. So the complete nagios installation stays in $prefix.
>>
>> For Deb or RPM Packages  --with-checkresult-dir=/var/spool/nagios/checkresults can be used.
>>
>> Kind regards
>>
>> Joerg
> 
> Hi,
> 
> I've just build this cause I am with Jörg.
> All "default" for nagios is in /usr/local/nagios if you don't use any
> configure switches, so why don't do so for checkresults spool dir?
> 
> I am not sure if this patch of the configure.in is what a cross
> plattform build "configure" requires. But thousand eyes on the list may
> correct me.
> 
> On Ubuntu Linux I have testet:
> configure without any options => checkresults =
> /usr/local/nagios/var/spool/checkresults
> 
> configure with other prefix => checkresults =
> other-prefix/var/spool/checkresults
> 
> configure with no prefix but --witch-checkresults-dir=/tmp/some/what =>
> checkresults = /tmp/some/what
> 
> As I mentioned... don't know if the "if-else" runs are right on other
> systems.... hope for your help if I am wrong.
> 
> Here's the patch.
> 
> Btw: configure stats now prints out where the checkresults will be...
> 
> Kind regards
> Hendrik
> 

Good point.  :-)  I'll update the code to default to 
"$prefix$/var/spool/checkresults", unless the user overrides this. 
Patch will be in CVS shortly.  Thanks!


Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/




More information about the Developers mailing list