Page 1 of 1

Mac agent on Mac OS X 10.10 problem with SSL

Posted: Thu Sep 24, 2015 9:54 am
by tzidore
Hi

I have a problem installing the Mac OS X agent for Nagios XI on a 10.10.5 Mac Pro.

I have used this guide https://assets.nagios.com/downloads/nag ... _Agent.pdf

And I get this message:
....
checking for socklen_t... yes
checking for type of socket size... size_t
checking for SSL headers... configure: error: Cannot find ssl headers
Subcomponents installation failed - exiting
+ '[' 0 -ne 0 ']'
+ echo 'A-subcomponents appears to have already completed successfully. Moving on to the next step.'
+ tee -a log/A-subcomponents.log
A-subcomponents appears to have already completed successfully. Moving on to the next step.
+ echo 'Starting NRPE Agent'
Starting NRPE Agent
+ launchctl start org.nagios.nrpe
++ date +%s
+ log_tarball_name=logs-all-steps-1443106068.tar.gz
+ tar -czf logs-all-steps-1443106068.tar.gz log/
+ cat

##########################################################
### ###
### Nagios Mac OSX Agent Installation Complete! ###
### ###
##########################################################

If you experience any problems, please attach the file logs-all-steps-1443106068.tar.gz that was just created to any support requests.
Does anyone have a clue to my problem, how do I solve it. I don't necessarily need SSL it's only on a internal network.

Re: Mac agent on Mac OS X 10.10 problem with SSL

Posted: Thu Sep 24, 2015 3:01 pm
by hsmith
Hi @tzidore,

I'm in the process of trying to get this installed on my personal MBP, but I have to download xcode first, which happens to be 4GB :|. I'll post an update when I have confirmed the test results. Thanks!

Re: Mac agent on Mac OS X 10.10 problem with SSL

Posted: Thu Sep 24, 2015 4:34 pm
by hsmith
My attempt was successful. Did you make sure you sudo ran.
Early 2015 MBP 10.10.5

snippet:

Code: Select all

checking for socklen_t... yes
checking for type of socket size... size_t
checking for SSL headers... SSL headers found in /usr
checking for SSL libraries... SSL libraries found in /usr/lib

*** Generating DH Parameters for SSL/TLS ***
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time

Re: Mac agent on Mac OS X 10.10 problem with SSL

Posted: Fri Sep 25, 2015 3:24 am
by tzidore
Hi

Thank for the quick reply.

Xcode is already installed. It is a mac pro with the app "Server" installed. Could that have something to do with the problem?

I used
sudo bash -x /tmp/macosx/fullinstall

Re: Mac agent on Mac OS X 10.10 problem with SSL

Posted: Fri Sep 25, 2015 4:13 am
by tzidore
Hi again

Xcode is installed but after using this tutorial and re-running the script it worked.

http://railsapps.github.io/xcode-comman ... tools.html

Thank you for making check up on xcode.

It is solved.

Re: Mac agent on Mac OS X 10.10 problem with SSL

Posted: Fri Sep 25, 2015 9:31 am
by hsmith
Glad to hear you got it resolved. Is there anything else we can help you with, or is this one free to be closed?