Page 2 of 3

Re: Solaris 10 agent SSL failure

Posted: Tue Apr 22, 2014 5:00 am
by nagiostool
yes i have run the command fro Nagios server. But the result was little different there was no error but output is as below

/usr/local/nagios/libexec/check_nrpe -n -H 192.168.92.3

CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.

Re: Solaris 10 agent SSL failure

Posted: Tue Apr 22, 2014 1:22 pm
by abrist
Lets look at the logs on the *remote nrpe server*. Run an nrpe check to the server, and then get a tail of the system messages on the remote host:

Code: Select all

tail -30 /var/log/messages
Have you taken a look at the following doc?
http://assets.nagios.com/downloads/nagi ... utions.pdf

Re: Solaris 10 agent SSL failure

Posted: Mon Apr 28, 2014 2:31 am
by nagiostool
There is no file as /var/log/messages to check the logs

Re: Solaris 10 agent SSL failure

Posted: Mon Apr 28, 2014 11:01 am
by abrist
Apologies, on Solaris you may find the log file at

Code: Select all

tail -30 /var/adm/messages

Re: Solaris 10 agent SSL failure

Posted: Tue May 06, 2014 4:03 am
by nagiostool
this is the output

May 6 13:00:00 host1 sendmail[21405]: [ID 702911 mail.crit] My unqualified host name (host1) unknown; sleeping for retry
May 6 13:01:00 host1 sendmail[21405]: [ID 702911 mail.alert] unable to qualify my own domain name (host1) -- using short name
May 6 14:00:00 host1 sendmail[12748]: [ID 702911 mail.crit] My unqualified host name (host1) unknown; sleeping for retry
May 6 14:01:00 host1 sendmail[12748]: [ID 702911 mail.alert] unable to qualify my own domain name (host1) -- using short name
May 6 14:22:09 host1 nrpe[23817]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1

Re: Solaris 10 agent SSL failure

Posted: Tue May 06, 2014 9:51 am
by slansing
Not sure what the path will be on solaris, but what is in your derivative of:

Code: Select all

/etc/resolv.conf

/etc/mail/sendmail.cf

/etc/hosts


Re: Solaris 10 agent SSL failure

Posted: Thu May 08, 2014 2:08 am
by nagiostool
On the remote servers ?

Re: Solaris 10 agent SSL failure

Posted: Thu May 08, 2014 4:19 pm
by scottwilkerson
nagiostool, can you verify that you have your Nagios XI servers ip address in /home/nagios/etc/nrpe.cfg in the allowed_hosts directive, and in not, add it and restart the daemon

Re: Solaris 10 agent SSL failure

Posted: Thu May 08, 2014 11:40 pm
by nagiostool
Nagios Server IP is mentioned in allowed_hosts directive

Re: Solaris 10 agent SSL failure

Posted: Fri May 09, 2014 12:27 pm
by tmcdonald
Just in case you missed it, can you answer slansing's question?
slansing wrote:Not sure what the path will be on solaris, but what is in your derivative of:

Code: Select all

/etc/resolv.conf

/etc/mail/sendmail.cf

/etc/hosts

I do believe he was talking about the remote server, but just to be sure can you provide them both and specify which is which?