using the -S on http does not work

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

using the -S on http does not work

Postby paries » Sat Nov 21, 2020 1:02 pm

Hello, trying to get check_http to work with an https site

I did see one post where it mentioned compiling with somekind of SSL flag, but saw no examples on what to do

thanks for any help

./libexec/check_http -S -H http://www.mydomain.com -a myAPIUser:xxx -p 4050 -v
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]
paries
 
Posts: 4
Joined: Thu Feb 09, 2017 12:03 pm

Re: using the -S on http does not work

Postby paries » Sat Nov 21, 2020 6:29 pm

i tried this and i appeared to compile but still get the error

./configure --with-openssl=/usr/bin/openssl
make
make install


still get the same error
paries
 
Posts: 4
Joined: Thu Feb 09, 2017 12:03 pm

Re: using the -S on http does not work

Postby paries » Sat Nov 21, 2020 6:34 pm

solved this issue,
had to first

yum install openssl-devel

then recompile and now it is working :D
paries
 
Posts: 4
Joined: Thu Feb 09, 2017 12:03 pm


Return to Community Support

Who is online

Users browsing this forum: No registered users and 42 guests