Code: Select all
dnf install openssl-devel openssl
Last metadata expiration check: 1:19:02 ago on Wed 13 Nov 2019 12:56:30 PM CET.
Package openssl-devel-1:1.1.1-8.el8.x86_64 is already installed.
Package openssl-1:1.1.1-8.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Code: Select all
./configure --with-openssl --with-nagios-user=nagios --with-nagios-group=nagios
Code: Select all
config.status: creating po/Makefile
--with-apt-get-command:
--with-ping6-command: /sbin/ping6 -n -U -w %d -c %d %s
--with-ping-command: /sbin/ping -n -U -w %d -c %d %s
--with-ipv6: yes
--with-mysql: no
--with-openssl: no
--with-gnutls: no
--enable-extra-opts: yes
--with-perl: /bin/perl
--enable-perl-modules: no
--with-cgiurl: /nagios/cgi-bin
--with-trusted-path: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
--enable-libtap: no
I want to check SSL expiration date:
Code: Select all
/usr/local/nagios/libexec/check_http -H 1.1.1.1 -S
check_http: Invalid option - SSL is not available
Usage:
check_http -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]
[-J <client certificate file>] [-K <private key>]
[-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-E] [-a auth]
[-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]
[-e <expect>] [-d string] [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]
[-P string] [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>]
[-A string] [-k string] [-S <version>] [--sni] [-C <warn_age>[,<crit_age>]]
[-T <content-type>] [-j method]
Thanks in advance.