Page 1 of 1

Check_nrpe Error

Posted: Wed Jun 13, 2012 8:11 am
by nagiostool
Hi,
I have installed NRPE on remote linux host and when i executed the following command.

/usr/local/nagios/libexec/check_nrpe -H localhost
I got the error as
/usr/local/nagios/libexec/check_nrpe: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
but when i have checked the path for the plugin i have found it.

Can anyone help me ???

Re: Check_nrpe Error

Posted: Wed Jun 13, 2012 9:41 am
by agriffin
How did you install check_nrpe and what OS are you using? It looks like the version on your system was compiled with SSL support, but the corresponding SSL library is missing from your system. You will need to install the OpenSSL library and development headers. I can give more detail once I know what OS you're running.

Re: Check_nrpe Error

Posted: Thu Jun 14, 2012 1:23 am
by nagiostool
Red Hat Enterprise 5.8 Version

I have installed nrpe by untaring latest nrpe release only.

Re: Check_nrpe Error

Posted: Thu Jun 14, 2012 6:54 pm
by jsmurphy
It sounds to me like you are using a pre-compiled NRPE package, normally after you untar the package you need to compile it. Grab this:
http://exchange.nagios.org/directory/Ad ... or/details
Follow this:
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

By the sounds of your previous error if you want SSL support you will also need to install: yum openssl and yum openssl-devel

Re: Check_nrpe Error

Posted: Fri Jun 15, 2012 5:33 am
by helzerr
Another alternative - Add EPEL to your yum repositories, and install NRPE from there. Then yum will resolve and install all the dependencies for you.

http://fedoraproject.org/wiki/EPEL

Once EPEL is added, simply `yum install nrpe`

You can then also `yum list nagios-plugins*` to see the individual plugins available via EPEL and / or `yum install nagios-plugins`to install all plugins.

Using EPEL has the added benefit of receiving updates for these packages with `yum update` just like all the Red Hat packages.