Patch against bug in processing passive checks with new IPC method

Hendrik Baecker andurin at process-zero.de
Fri Apr 20 14:31:48 CEST 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.in.patch
Type: text/x-patch
Size: 1397 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070420/9c261fe4/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list