Where to start!?
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
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
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openssl-dev
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
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.
I have doubled checked and read some various help posts and it seems that it is the equivalent for Ubuntu.
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
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.
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.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Where to start!?
Try:
Code: Select all
apt-get install libssl-devAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
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.
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.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Where to start!?
On the client machine, what is the output of:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H localhostAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
root@ip-xxx-xx-xx-xxx:~# /usr/local/nagios/libexec/check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.
CHECK_NRPE: Error - Could not complete SSL handshake.
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
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
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
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Where to start!?
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 nrpeAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
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
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