I seem to be having issues configuring NCPA on CentOS7. I started by trying to install according to https://assets.nagios.com/downloads/ncp ... g-NCPA.pdf
First, I tried to install via "rpm -Uvh http://repo.nagios.com/nagios/7/nagios- ... noarch.rpm" but this fed me a cert error:
Code: Select all
Retrieving http://repo.nagios.com/nagios/7/nagios-repo-7-4.el7.noarch.rpm
curl: (60) Peer's certificate issuer has been marked as not trusted by the user.
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
error: skipping http://repo.nagios.com/nagios/7/nagios-repo-7-4.el7.noarch.rpm - transfer failed
Then I tried to install using "rpm -Uvh https://assets.nagios.com/downloads/ncp ... x86_64.rpm" but this also fed a cert error.
Then I tried to use two separate commands:
Code: Select all
curl -k -O https://repo.nagios.com/nagios/7/nagios-repo-7-4.el7.noarch.rpm
rpm -Uvh nagios-repo-7-4.el7.noarch.rpm
Code: Select all
uname -a
Linux ********_data_server 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Code: Select all
cat /etc/*-release
CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"