Solaris 10 agent SSL failure
-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: Solaris 10 agent SSL failure
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.
/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
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:
Have you taken a look at the following doc?
http://assets.nagios.com/downloads/nagi ... utions.pdf
Code: Select all
tail -30 /var/log/messageshttp://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.
"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
There is no file as /var/log/messages to check the logs
Re: Solaris 10 agent SSL failure
Apologies, on Solaris you may find the log file at
Code: Select all
tail -30 /var/adm/messagesFormer 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.
"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
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
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
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
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
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
-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: Solaris 10 agent SSL failure
Nagios Server IP is mentioned in allowed_hosts directive
Re: Solaris 10 agent SSL failure
Just in case you missed it, can you answer slansing's question?
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?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
Former Nagios employee