URL monitoring with unsafe cerficiate

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
diogenesaug
Posts: 1
Joined: Wed Jul 29, 2020 11:29 am

URL monitoring with unsafe cerficiate

Post by diogenesaug »

Hey,

See if anyone can help me, I'm doing a test on a url looking for a string, but this url returns an untrusted certificate, I'm having trouble making Nagios ignore this certificate check.
The check you’re using:

# 'check_https_string_port' command definition
define command {
command_name check_https_string_port
command_line $ USER1 $ / check_http -H $ ARG1 $ -p $ ARG2 $ -u $ ARG3 $ -s $ ARG4 $ -t 30 --sni
Locked