Page 1 of 2

AIX NRPE

Posted: Wed Nov 12, 2014 3:33 pm
I followed the instructions for installing NRPE on AIX and have modified and I get the error:

CHECK_NRPE: Error - Could not complete SSL handshake.

I have set allowed_hosts in /=127.0.0.1,172.16.24.51 on client to allow NAGIOSXI server but still having issues.

Also have # cat /etc/services|grep nrpe
nrpe 5666/tcp #nrpe


phxsarpt.grhc.local


View service status details for this host

Current Load
Critical 2h 0m 48s 5/5 2014-11-12 13:26:40 CHECK_NRPE: Error - Could not complete SSL handshake.

Current Users
Critical 1h 59m 57s 5/5 2014-11-12 13:27:16 CHECK_NRPE: Error - Could not complete SSL handshake.

Ping
Ok 1h 58m 18s 1/5 2014-11-12 13:26:04 OK - 10.10.20.10: rta 2.686ms, lost 0%

Total Processes
Critical 1h 57m 18s 5/5 2014-11-12 13:25:28 CHECK_NRPE: Error - Could not complete SSL handshake


Any help on the AIX side would be appreciated. I looked in the forums and found nothing with answers.

Re: AIX NRPE

Posted: Wed Nov 12, 2014 3:43 pm
by slansing
Please try passing one of those check commands with the "-n" flag, you may not have compiled with SSL support.

Re: AIX NRPE

Posted: Wed Nov 19, 2014 1:44 pm
That looks good:

[root@localhost ~]# /usr/local/nagios/libexec/check_nrpe -n -H phxsarpt
NRPE v2.12

How do I configure the server to use NRPE and not SSL to check clients?

Re: AIX NRPE

Posted: Wed Nov 19, 2014 5:22 pm
by slansing
Based on what instructions you followed, you either manually compiled it, used an install script, or used a static binary. Can you link me to what you used to install NRPE? Then I can let you know what to do on the agent's end. For the time being, you can keep passing -n in your commands to at least get checks returning while we work on this.

Re: AIX NRPE

Posted: Tue Nov 25, 2014 7:13 pm

Re: AIX NRPE

Posted: Wed Nov 26, 2014 11:37 am
by abrist
Those are binaries - they must have been compiled without ssl support.

Re: AIX NRPE

Posted: Wed Nov 26, 2014 11:39 am
by slansing
What version of AIX is this, you may have to remove those binaries, and compile from the NRPE source with SSL support.

Re: AIX NRPE

Posted: Wed Nov 26, 2014 1:13 pm
AIX 7.1.3.3.

I cannot seem to find a Monitoring Wizard or client for AIX 7.x.x

Re: AIX NRPE

Posted: Wed Nov 26, 2014 1:17 pm
by abrist
Yeah, you will need to hunt down the nrpe dependencies and then compile nrpe from source to get ssl to work.

Re: AIX NRPE

Posted: Tue Jan 06, 2015 7:16 am
I am using SSH monitoring for AIX now. Works Great!!!

Thanks...