Page 7 of 12
Re: Where to start!?
Posted: Tue Feb 16, 2016 3:14 pm
by trafalgargirl
root@nagios:~# apt-get install openssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openssl-dev
Re: Where to start!?
Posted: Tue Feb 16, 2016 3:21 pm
by trafalgargirl
I went ahead and installed libssl0.9.8
I have doubled checked and read some various help posts and it seems that it is the equivalent for Ubuntu.
Re: Where to start!?
Posted: Tue Feb 16, 2016 5:31 pm
by trafalgargirl
Went back and double checked a few more things:
On the client machine
root@ip-:~# /usr/local/nagios/libexec/check_nrpe -H localhost -n
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
root@ip-:~# /usr/local/nagios/libexec/check_nrpe -H xx.xx.xxx.xx
CHECK_NRPE: Socket timeout after 10 seconds.
Re: Where to start!?
Posted: Tue Feb 16, 2016 5:40 pm
by Box293
Re: Where to start!?
Posted: Tue Feb 16, 2016 8:02 pm
by trafalgargirl
Yes - already did that
root@nagios:~# apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ip:~# apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Re: Where to start!?
Posted: Tue Feb 16, 2016 9:21 pm
by Box293
On the client machine, what is the output of:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H localhost
Re: Where to start!?
Posted: Tue Feb 16, 2016 10:11 pm
by trafalgargirl
root@ip-xxx-xx-xx-xxx:~# /usr/local/nagios/libexec/check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.
Re: Where to start!?
Posted: Tue Feb 16, 2016 10:45 pm
by trafalgargirl
I also tried
root@nagios:~# /usr/lib/nagios/plugins/check_nrpe -H xx.xx.xxx.xxx -> client IP
-bash: /usr/lib/nagios/plugins/check_nrpe: No such file or directory
Re: Where to start!?
Posted: Tue Feb 16, 2016 10:57 pm
by Box293
Can you please run these commands on the NRPE Client and show us the output:
Code: Select all
ps -ef | grep xinetd
ps -ef | grep nrpe
Re: Where to start!?
Posted: Tue Feb 16, 2016 11:56 pm
by trafalgargirl
On the nagios machine
root@nagios:~# ps -ef | grep xinetd
root 23969 1 0 Feb12 ? 00:00:00 /usr/sbin/xinetd -dontfork -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
root 29547 26672 0 04:54 pts/0 00:00:00 grep --color=auto xinetd
root@nagios:~# ps -ef | grep nrpe
root 29565 26672 0 04:54 pts/0 00:00:00 grep --color=auto nrpe
nagios 32444 1 0 Feb12 ? 00:00:37 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
Client Machine
root@ip-:~# ps -ef | grep xinetd
root 6835 6594 0 04:55 pts/0 00:00:00 grep --color=auto xinetd
root 13886 1 0 Feb12 ? 00:00:00 /usr/sbin/xinetd -dontfork -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
root@ip-:~# ps -ef | grep nrpe
nagios 5155 1 0 Feb12 ? 00:00:29 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
root 6837 6594 0 04:56 pts/0 00:00:00 grep --color=auto nrpe