Solaris 10 agent SSL failure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Solaris 10 agent SSL failure

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Solaris 10 agent SSL failure

Post 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
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.
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Solaris 10 agent SSL failure

Post by nagiostool »

There is no file as /var/log/messages to check the logs
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Solaris 10 agent SSL failure

Post by abrist »

Apologies, on Solaris you may find the log file at

Code: Select all

tail -30 /var/adm/messages
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.
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Solaris 10 agent SSL failure

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

Re: Solaris 10 agent SSL failure

Post 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

nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Solaris 10 agent SSL failure

Post by nagiostool »

On the remote servers ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Solaris 10 agent SSL failure

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Solaris 10 agent SSL failure

Post by nagiostool »

Nagios Server IP is mentioned in allowed_hosts directive
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Solaris 10 agent SSL failure

Post 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?
Former Nagios employee
Locked