Two NRPE bugs (and patches)
Ethan Galstad
nagios at nagios.org
Mon Feb 19 17:34:23 CET 2007
Andrew Boyce-Lewis (Contractor) wrote:
> Sorry for the delay in writing back, things have ben quite busy.
>
> As I said before, I made some minor changes to the NRPE source to
> address two bugs that I found.
>
> 1) If openssl installed but in a non-standard location, configuring and
> making nrpe would fail generating DH parameters because the openssl
> binary could not be found. I added the configure time option --with-ssl
> for setting the install path of openssl. Also, as far as I can tell
> with-ssl-lib is never used, so I removed it. Finally, I beefed up the
> logic that it used to find both the include files and the openssl binary
> so that they are more likely to succeed if you have a non-standard
> installation.
>
> 2) Fixed a bug that caused NRPE to stop parsing the config file after a
> non-fatal error. This happened when an invalid config_dir was specified
> after sufficient configuration options were parsed. For example, I had
> all of the core options (port, user, group.... etc) at the top of my
> config, then an include_dir that specified a directory that did not
> exist and then all of the command definitions. The daemon would launch,
> report only that the config dir was not found yet it would have no
> checks available and report no other errors (because the checks were
> defined after the invalid include_dir).
>
> I enabled some additional error output and allowed read_config_file() to
> keep going (with warnings) even if a non-existent include_dir or
> include_file are specified.
>
> Feedback welcome.
>
> -Andrew
>
>
Thanks Andrew - I'll get these patches 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