AIX NRPE

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
[email protected]
Posts: 52
Joined: Wed Nov 12, 2014 3:09 pm

AIX NRPE

Post by [email protected] »

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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: AIX NRPE

Post by slansing »

Please try passing one of those check commands with the "-n" flag, you may not have compiled with SSL support.
[email protected]
Posts: 52
Joined: Wed Nov 12, 2014 3:09 pm

Re: AIX NRPE

Post by [email protected] »

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?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: AIX NRPE

Post 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.
[email protected]
Posts: 52
Joined: Wed Nov 12, 2014 3:09 pm

Re: AIX NRPE

Post by [email protected] »

abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: AIX NRPE

Post by abrist »

Those are binaries - they must have been compiled without ssl support.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: AIX NRPE

Post by slansing »

What version of AIX is this, you may have to remove those binaries, and compile from the NRPE source with SSL support.
[email protected]
Posts: 52
Joined: Wed Nov 12, 2014 3:09 pm

Re: AIX NRPE

Post by [email protected] »

AIX 7.1.3.3.

I cannot seem to find a Monitoring Wizard or client for AIX 7.x.x
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: AIX NRPE

Post by abrist »

Yeah, you will need to hunt down the nrpe dependencies and then compile nrpe from source to get ssl to work.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
[email protected]
Posts: 52
Joined: Wed Nov 12, 2014 3:09 pm

Re: AIX NRPE

Post by [email protected] »

I am using SSH monitoring for AIX now. Works Great!!!

Thanks...
Locked