Page 4 of 4

Re: Agent Install Failed - SSLv3

Posted: Mon Apr 24, 2017 3:15 pm
by tgriep
It looks like the install is failing on compiling the plugings. Can you try ans see if you can install the newer plugins using these instructions?
https://support.nagios.com/kb/article.php?id=569
When the find command finished, please post that and also, you can zip up the files and post them.

Also, can you post your /usr/local/nagios/etc/nrpe.cfg file and the output of these commands?

Code: Select all

ls -l /usr/local/nagios/libexec
uname -a
cat /etc/*release*

Re: Agent Install Failed - SSLv3

Posted: Wed Apr 26, 2017 3:29 pm
by InscrutableDude

Code: Select all

user@host:/tmp/nagios-plugins-release-2.2.0$ ls -l /usr/local/nagios/libexec
total 9688
-rwxr-xr-x 1 root   root   251168 Apr 26 20:26 check_apt
-rwxr-xr-x 1 root   root     2354 Apr 26 20:26 check_breeze
-rwxr-xr-x 1 root   root   258152 Apr 26 20:26 check_by_ssh
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_clamd -> check_tcp
-rwxr-xr-x 1 root   root   196376 Apr 26 20:26 check_cluster
-r-sr-xr-x 1 root   root   258920 Apr 26 20:26 check_dhcp
-rwxr-xr-x 1 root   root   247928 Apr 26 20:26 check_dig
-rwxr-xr-x 1 root   root   270112 Apr 26 20:26 check_disk
-rwxr-xr-x 1 root   root     9477 Apr 26 20:26 check_disk_smb
-rwxr-xr-x 1 root   root   278632 Apr 26 20:26 check_dns
-rwxr-xr-x 1 root   root   152328 Apr 26 20:26 check_dummy
-rwxr-xr-x 1 root   root     3868 Apr 26 20:26 check_file_age
-rwxr-xr-x 1 root   root     6512 Apr 26 20:26 check_flexlm
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_ftp -> check_tcp
-rwxr-xr-x 1 root   root   249952 Apr 26 20:26 check_hpjd
-rwxr-xr-x 1 root   root   419720 Apr 26 20:26 check_http
-r-sr-xr-x 1 root   root   271472 Apr 26 20:26 check_icmp
-rwxr-xr-x 1 root   root   204080 Apr 26 20:26 check_ide_smart
-rwxr-xr-x 1 root   root    15283 Apr 26 20:26 check_ifoperstatus
-rwxr-xr-x 1 root   root    13435 Apr 26 20:26 check_ifstatus
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_imap -> check_tcp
-rwxr-xr-x 1 root   root     6992 Apr 26 20:26 check_ircd
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_jabber -> check_tcp
-rwxr-xr-x 1 root   root   221464 Apr 26 20:26 check_load
-rwxr-xr-x 1 root   root     6673 Apr 26 20:26 check_log
-rwxr-xr-x 1 root   root    22764 Apr 26 20:26 check_mailq
-rwxr-xr-x 1 root   root   205048 Apr 26 20:26 check_mrtg
-rwxr-xr-x 1 root   root   206584 Apr 26 20:26 check_mrtgtraf
-rwxr-xr-x 1 root   root   246992 Apr 26 20:26 check_mysql
-rwxr-xr-x 1 root   root   231152 Apr 26 20:26 check_mysql_query
-rwxr-xr-x 1 root   root   222008 Apr 26 20:26 check_nagios
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_nntp -> check_tcp
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_nntps -> check_tcp
-rwxrwxr-x 1 nagios nagios 164272 Apr 18 18:28 check_nrpe
-rwxr-xr-x 1 root   root   265680 Apr 26 20:26 check_nt
-rwxr-xr-x 1 root   root   264440 Apr 26 20:26 check_ntp
-rwxr-xr-x 1 root   root   253872 Apr 26 20:26 check_ntp_peer
-rwxr-xr-x 1 root   root   242920 Apr 26 20:26 check_ntp_time
-rwxr-xr-x 1 root   root   297656 Apr 26 20:26 check_nwstat
-rwxr-xr-x 1 root   root     9461 Apr 26 20:26 check_oracle
-rwxr-xr-x 1 root   root   232776 Apr 26 20:26 check_overcr
-rwxr-xr-x 1 root   root   243336 Apr 26 20:26 check_pgsql
-rwxr-xr-x 1 root   root   265920 Apr 26 20:26 check_ping
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_pop -> check_tcp
-rwxr-xr-x 1 root   root   261576 Apr 26 20:26 check_procs
-rwxr-xr-x 1 root   root   225192 Apr 26 20:26 check_real
-rwxr-xr-x 1 root   root     9687 Apr 26 20:26 check_rpc
-rwxr-xr-x 1 root   root     1537 Apr 26 20:26 check_sensors
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_simap -> check_tcp
-rwxr-xr-x 1 root   root   314856 Apr 26 20:26 check_smtp
-rwxr-xr-x 1 root   root   328016 Apr 26 20:26 check_snmp
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_spop -> check_tcp
-rwxr-xr-x 1 root   root   222632 Apr 26 20:26 check_ssh
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_ssmtp -> check_tcp
-rwxr-xr-x 1 root   root   199496 Apr 26 20:26 check_swap
-rwxr-xr-x 1 root   root   296816 Apr 26 20:26 check_tcp
-rwxr-xr-x 1 root   root   223776 Apr 26 20:26 check_time
lrwxrwxrwx 1 root   root        9 Apr 26 20:26 check_udp -> check_tcp
-rwxr-xr-x 1 root   root   240128 Apr 26 20:26 check_ups
-rwxr-xr-x 1 root   root   190992 Apr 26 20:26 check_uptime
-rwxr-xr-x 1 root   root   188944 Apr 26 20:26 check_users
-rwxr-xr-x 1 root   root     3040 Apr 26 20:26 check_wave
-rwxr-xr-x 1 nagios nagios   3427 Apr 19 16:15 custom_check_mem
-rwxr-xr-x 1 nagios nagios    916 Apr 19 16:16 custom_check_procs
-rwxr-xr-x 1 root   root   187696 Apr 26 20:26 negate
-rwxr-xr-x 1 root   root   184280 Apr 26 20:26 urlize
-rwxr-xr-x 1 root   root     1949 Apr 26 20:26 utils.pm
-rwxr-xr-x 1 root   root     2791 Apr 26 20:26 utils.sh
Linux prodcliefe1 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial

Re: Agent Install Failed - SSLv3

Posted: Wed Apr 26, 2017 3:32 pm
by InscrutableDude
I just saw you say "newer" plugins. do you mean others than the ones specified in that document? If so, what modifications do I need to make to those instructions?

After following that guide, the ./fullinstall still fails with the same error as before.

Re: Agent Install Failed - SSLv3

Posted: Wed Apr 26, 2017 4:15 pm
by tgriep
To get the Agent to install without compiling the older plugins, edit this file (If that is where you extracted the linux Agent tar file.

Code: Select all

/tmp/linux-nrpe-agent/subcomponents/install
Change this line from

Code: Select all

for pkg in nagiosplugins nrpe nsca extraplugins; do
to

Code: Select all

for pkg in nrpe nsca extraplugins; do
Save it out and then run the fullinstall again.

Re: Agent Install Failed - SSLv3

Posted: Thu Apr 27, 2017 8:18 am
by InscrutableDude
YES!!! That worked. Can you tell me what/why was happening?

Re: Agent Install Failed - SSLv3

Posted: Thu Apr 27, 2017 8:35 am
by tgriep
I am guessing that the older agent's source code for the plugin used some code in a library when that is not available anymore so it would not compile the plugins.
Sometimes when a new distribution is released, the maintainers remove / update libraries, source, etc... which could cause the issue you are having.

Re: Agent Install Failed - SSLv3

Posted: Thu Apr 27, 2017 8:46 am
by InscrutableDude
Awesome. Well, thank you so much for your help, and everyone else who contributed. I don't know if there's somethinng I need to do to close this?

Re: Agent Install Failed - SSLv3

Posted: Thu Apr 27, 2017 10:59 am
by tgriep
I'll close it for you. If you have anything new come up, please open a new post.