Page 4 of 4

Re: Linux NRPE: unable to read output

Posted: Fri Jan 08, 2016 10:33 am
by hsmith
I've seen NRPE run fine on quite a few SUSE environments. I've seen it run fine on MOST RHEL environments as well. We advertise it because it works. The installation can't account for changes on your system that are unexpected, however. It is pretty common for everyone's environment to not be the same. What version of openSUSE are you running exactly? I will install it, and attempt the NRPE installation on it and let you know my results. I apologize you're having such a rough time getting it installed, but we'll do our best to get it working for you.

Re: Linux NRPE: unable to read output

Posted: Fri Jan 08, 2016 3:44 pm
by dlukinski
hsmith wrote:I've seen NRPE run fine on quite a few SUSE environments. I've seen it run fine on MOST RHEL environments as well. We advertise it because it works. The installation can't account for changes on your system that are unexpected, however. It is pretty common for everyone's environment to not be the same. What version of openSUSE are you running exactly? I will install it, and attempt the NRPE installation on it and let you know my results. I apologize you're having such a rough time getting it installed, but we'll do our best to get it working for you.
Only reason we used OpenSuse is because we could not get Suse enterprise subscription for the test server (done now)

I was able to run it all the way to (by following that manual you have provided): make install-plugin (for nrpe-2.14). It failed as attached.

Re: Linux NRPE: unable to read output

Posted: Fri Jan 08, 2016 4:05 pm
by dlukinski
dlukinski wrote:
hsmith wrote:I've seen NRPE run fine on quite a few SUSE environments. I've seen it run fine on MOST RHEL environments as well. We advertise it because it works. The installation can't account for changes on your system that are unexpected, however. It is pretty common for everyone's environment to not be the same. What version of openSUSE are you running exactly? I will install it, and attempt the NRPE installation on it and let you know my results. I apologize you're having such a rough time getting it installed, but we'll do our best to get it working for you.
Only reason we used OpenSuse is because we could not get Suse enterprise subscription for the test server (done now)

I was able to run it all the way to (by following that manual you have provided): make install-plugin (for nrpe-2.14). It failed as attached.

Actually there are errors during make all too:

./nrpe.c:92: error: expected ')' before '*' token / line looks this way: void complete_SSL_shutdown( SSL *);
./nrpe.c:1676: error: expected ')' before '*' token / line looks this way: void complete_SSL_shutdown( SSL *ssl) {

Error 1

Re: Linux NRPE: unable to read output

Posted: Fri Jan 08, 2016 8:26 pm
by dlukinski
All over again:
---------------------------------------------------------------
Reinstalled OpenSuse 13.2 clean (minimum server)

It fails to make all ngpe 2-14 (as per documentation)
./nrpe.c:92:29: error: unknown type name SSL
void complete_SSL_shutdown( SSL *)

./nrpe.c:1676:29: error: unknown type name SSL
void complete_SSL_shutdown( SSL *ssl) {

AND finds no directory after running
chown -R nagios.nagios /usr/local/nagios/libexec
---------------------------------------------------------------

Similar to previous attempts with SuSe SLES 11 SP3


Three month ago we planned on using NRPE for Hundreds(!) of RHEL and SLES servers.
- NRPE client NEVER worked on any of them :-\

Re: Linux NRPE: unable to read output

Posted: Mon Jan 11, 2016 10:04 am
by dlukinski
now have 2 x SLES 11 SP3 (fully updated) and ready for NRPE installation attempts (manual)

Please guide me to the procedure that actually works

Thank you

Re: Linux NRPE: unable to read output

Posted: Mon Jan 11, 2016 10:50 am
by hsmith
dlukinski wrote:...All over again:
---------------------------------------------------------------
Reinstalled OpenSuse 13.2 clean (minimum server)...
I'm downloading the ISO now. I will see what the installation does for me, and let you know.
dlukinski wrote:Three month ago we planned on using NRPE for Hundreds(!) of RHEL and SLES servers.
- NRPE client NEVER worked on any of them :-\
I've seen you post a few NRPE questions here. I would assume you have it working on some of your servers. Something is definitely different on your end, especially if it is failing on RHEL systems. Something I can't really advise, but may be necessary in your case is using the version of NRPE that is offered via yum install if you're unable to compile it on a single one of your servers, or unable to run the fullinstall script on the servers. I've ran the fullinstall on at least 30 clean CentOS6/7 (based on RHEL) servers, and it has yet to fail for me. Things will be different in different environments, the best thing you can do is post here for support if it is failing.
dlukinski wrote:now have 2 x SLES 11 SP3 (fully updated) and ready for NRPE installation attempts (manual)
I think part of the confusion in this thread is we keep jumping between operating systems types. You mention it's failing on openSUSE before this post, and now you have two SLES servers you want the installation instructions for. I do not have any SLES licensing here to attempt to lab this on. I'll get back to you on what happens with openSUSE 13.2.

I think it may be best if you open a new thread for RHEL if you're having issues getting it installed there. This thread is getting bloated and hard to follow, let's try to keep it to one OS per thread for now.

Re: Linux NRPE: unable to read output

Posted: Mon Jan 11, 2016 11:36 am
by dlukinski
hsmith wrote:
dlukinski wrote:...All over again:
---------------------------------------------------------------
Reinstalled OpenSuse 13.2 clean (minimum server)...
I'm downloading the ISO now. I will see what the installation does for me, and let you know.
dlukinski wrote:Three month ago we planned on using NRPE for Hundreds(!) of RHEL and SLES servers.
- NRPE client NEVER worked on any of them :-\
I've seen you post a few NRPE questions here. I would assume you have it working on some of your servers. Something is definitely different on your end, especially if it is failing on RHEL systems. Something I can't really advise, but may be necessary in your case is using the version of NRPE that is offered via yum install if you're unable to compile it on a single one of your servers, or unable to run the fullinstall script on the servers. I've ran the fullinstall on at least 30 clean CentOS6/7 (based on RHEL) servers, and it has yet to fail for me. Things will be different in different environments, the best thing you can do is post here for support if it is failing.
dlukinski wrote:now have 2 x SLES 11 SP3 (fully updated) and ready for NRPE installation attempts (manual)
I think part of the confusion in this thread is we keep jumping between operating systems types. You mention it's failing on openSUSE before this post, and now you have two SLES servers you want the installation instructions for. I do not have any SLES licensing here to attempt to lab this on. I'll get back to you on what happens with openSUSE 13.2.

I think it may be best if you open a new thread for RHEL if you're having issues getting it installed there. This thread is getting bloated and hard to follow, let's try to keep it to one OS per thread for now.
Let's close and open the new one. CentOS is not indicative of NRPE agent install stats as this is the only one for which ./fullinstall works.
I'll open new one with respect to SLES11 only (RHEL is to come when we could get Test subscription for it)

Re: Linux NRPE: unable to read output

Posted: Mon Jan 11, 2016 11:48 am
by hsmith
Closing per user request for cleanup. Posting results of my openSUSE test in the new thread.