Linux NRPE: unable to read output

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Linux NRPE: unable to read output

Post 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.
Former Nagios Employee.
me.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Linux NRPE: unable to read output

Post 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.
You do not have the required permissions to view the files attached to this post.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Linux NRPE: unable to read output

Post 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
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Linux NRPE: unable to read output

Post 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 :-\
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Linux NRPE: unable to read output

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Linux NRPE: unable to read output

Post 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.
Former Nagios Employee.
me.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Linux NRPE: unable to read output

Post 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)
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Linux NRPE: unable to read output

Post by hsmith »

Closing per user request for cleanup. Posting results of my openSUSE test in the new thread.
Former Nagios Employee.
me.
Locked