Strange behavior from Solaris Agent
Posted: Wed Dec 16, 2015 4:20 pm
Okay so we're running into the following issue:
When trying to run a check from the XI interface we get the following for this one solaris host:
However if the same check is run locally through nrpe (as nagios user) it works:
Relevant Info:
Solaris OS:
uname -a
SunOS sammdc01 5.11 11.1 i86pc i386 i86pc
allowed hosts has the correct IP for the xi server and localhost;
/etc/inetd.conf is pointing to the nrpe install and nrpe.cfg:
NRPE is listening:
The solaris agent was installed via the following documentation:
https://assets.nagios.com/downloads/nag ... _Agent.pdf (solaris-nrpe-agent/init.sh was edited for 5.11 as the documentation states)
/etc/services has the 5666 entered:
Nagios home directory is set to /usr/local/nagios.
Any idea on what could be causing this? At first I thought there were two nrpe's running but svcs |grep nrpe only brings up the agent that was installed:
When trying to run a check from the XI interface we get the following for this one solaris host:
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_nrpe -H sammdc01 -c check_load -a 5.0,5.0,5.0 10.0,9.0,8.0
OUTPUT: CHECK_NRPE: Error - Could not complete SSL handshake.Code: Select all
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_load -a 5.0,5.0,5.0 10.0,9.0,8.0
OK - load average: 1.25, 1.28, 1.30|load1=1.254;15.000;30.000;0; load5=1.281;10.000;25.000;0; load15=1.305;5.000;20.000;0; Solaris OS:
uname -a
SunOS sammdc01 5.11 11.1 i86pc i386 i86pc
allowed hosts has the correct IP for the xi server and localhost;
/etc/inetd.conf is pointing to the nrpe install and nrpe.cfg:
Code: Select all
nrpe stream tcp nowait nagios /usr/sbin/tcpd /usr/local/nagios/bin/nrpe -c /etc/nagios/nrpe.cfg -i
Code: Select all
/usr/bin/netstat -a |grep nrpe
*.nrpe *.* 0 0 128000 0 LISTEN
https://assets.nagios.com/downloads/nag ... _Agent.pdf (solaris-nrpe-agent/init.sh was edited for 5.11 as the documentation states)
/etc/services has the 5666 entered:
Code: Select all
nrpe 5666/tcp # NRPEAny idea on what could be causing this? At first I thought there were two nrpe's running but svcs |grep nrpe only brings up the agent that was installed:
Code: Select all
svcs |grep nrpe
online 20:54:24 svc:/network/nrpe/tcp:default