Re: [Nagios-devel] Patch against bug in processing passive checks

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Patch against bug in processing passive checks

Post by Guest »

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: [email protected]
Website: http://www.nagios.org





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked