Nagios Wizard Mac OS X Agent problem
Posted: Wed May 06, 2015 11:54 am
Hi
I'm new to the forum and to Nagios.
Here is my situation:
I'm managing about 100 computers whereas 20-30 of them are servers of some sort.
I bought Nagios XI to make the usage easy for others and me. For example would a person with limited IT experience be able to setup a nagios agent and monitor what's going on.
I have been install the agents through the wizards under "configure" from the top menu.
It has been going well with Linux and Windows servers, but now I'm trying to install the agent on a Mac OS X 10.9.5 Server and it's not working for me.
I get this message on my Nagios XI server
I've install Xcode and the commandline Tools as the described in the installation instructions.
When I run "bash -x /tmp/macosx/fullinstall" I get this at the end:
Afterwards I've run this command to start the daemon "/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d".
I ran this because the agent didn't launch:
I see this as some problem with the installation script. Am I right?
My log is telling me this(/var/log/system.log):
In my /usr/local/nagios/etc/nrpe.cfg this is added:
When I run the command "/usr/local/nagios/libexec/check_nrpe -H <client>" from nagios server, I get:
When I run this "/usr/local/nagios/libexec/check_nrpe -H <client ip> -t 30 -c check_cpu_stats -a '-w 85 -c 90'", I get:
But why isn't it working then, I still get:
I'm new to the forum and to Nagios.
Here is my situation:
I'm managing about 100 computers whereas 20-30 of them are servers of some sort.
I bought Nagios XI to make the usage easy for others and me. For example would a person with limited IT experience be able to setup a nagios agent and monitor what's going on.
I have been install the agents through the wizards under "configure" from the top menu.
It has been going well with Linux and Windows servers, but now I'm trying to install the agent on a Mac OS X 10.9.5 Server and it's not working for me.
I get this message on my Nagios XI server
Code: Select all
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.When I run "bash -x /tmp/macosx/fullinstall" I get this at the end:
Code: Select all
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
launchctl start error: Bad file descriptor
++ date +%s
+ log_tarball_name=logs-all-steps-1430928939.tar.gz
+ tar -czf logs-all-steps-1430928939.tar.gz log/
+ cat
##########################################################
### ###
### Nagios Mac OSX Agent Installation Complete! ###
### ###
##########################################################
If you experience any problems, please attach the file logs-all-steps-1430928939.tar.gz that was just created to any support requests.I ran this because the agent didn't launch:
Code: Select all
+ launchctl start org.nagios.nrpe
launchctl start error: Bad file descriptorMy log is telling me this(/var/log/system.log):
Code: Select all
May 6 18:16:48 <Servername> nrpe[83095]: Error: Could not complete SSL handshake. 1Code: Select all
allowed_hosts=<IP of nagios server>Code: Select all
NRPE v2.15Code: Select all
CPU STATISTICS OK: user=0.56% system=14.60% iowait=0% idle=84.83% | user=0.0% system=14.60% iowait=0.0%;85;90 idle=84.83%Code: Select all
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.