Check_nrpe Error

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
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Check_nrpe Error

Post 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 ???
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Check_nrpe Error

Post 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.
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Check_nrpe Error

Post by nagiostool »

Red Hat Enterprise 5.8 Version

I have installed nrpe by untaring latest nrpe release only.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Check_nrpe Error

Post 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
helzerr
Posts: 5
Joined: Thu Jun 14, 2012 12:39 pm
Location: Orlando, FL
Contact:

Re: Check_nrpe Error

Post 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.
Locked