[Nagiosplug-help] Nagios and Nagios Plugin Install Issues

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Nov 10 05:41:37 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/11/07 02:23 PM, Stan Baptista wrote:
> Hi,
> 
> I'm installing Nagios and Nagios Plugins using the Fedora Quickstart
> instructions here:
> http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html.
> 
> VERSION INFO
> 
> System: CentOS release 4.5 (final)
> Nagios version: 2.10
> Nagios plug-in version: 1.4.10

I believe you're using the documentation for Nagios 3.0 to install
Nagios 2.10. You should rather look for v2.0 docs.

> NAGIOS PROBLEMS
> 
> Nagios appears to have installed correctly EXCEPT that the
> contacts.cfg file mentioned at step 4) Customize Configuration was not
> generated. The instructions indicated that it should have been
> installed here: /usr/local/nagios/etc/ojects/contacts.cfg. I decided
> to continue with installing the plugins.

You might have to write the contacts config file. see the following node
of the Nagios documentation for contact and contactgroup definitions.

BTW beside nagios,cfg, cgi.cfg and ressource.cfg, all config files are
equal in Nagios. The separation into different names is just for easier
maintenance. Just make sure that all your config files are referenced
from nagios.cfg using cfg_file or cfg_dir statements.

> NAGIOS PLUGIN PROBLEMS
> 
> When installing nagios-plugins-1.4.10, I get compile errors running
> the make step (see MAKE STEP below).
> 
> CONFIGURATION
> 
> I configured as follows:
> 
> ./configure --with-nagios-user=nagios --with-nagios-group=nagios
> 
> MAKE STEP
> 
> Make returned undefined references:
> 
> [...]

I saw this error in the past but never been able to pinpoint the problem
It is related to OpenSSL...

A quick fix if you don't need to check anything SSL (like HTTPS) is to
add this to configure:

- --without-openssl

There's something that bug me though... According to the output it seems
like OpenSSL library is installed in /usr/local/ssl/. Do you have the
official OpenSSL RPM package installed? Did you install an additional
SSL library on top of it?

What do you get when you run:

$ locate libcrypto.a

If you get (among others) /usr/lib/libcrypto.a with the above command
try adding this to configure:

- --with-openssl=/usr

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHNTaA6dZ+Kt5BchYRAj7wAJ9GXnlsTSz7EckhqRuYDtoSnmi10gCeNynT
C+eiVmEmPhu2aJhdbL9b67c=
=oATH
-----END PGP SIGNATURE-----




More information about the Help mailing list