Hi
I am in the process of upgrading our nagios servers from debian7 to debian9, and have run into a problem with check_http.
In the old version (2.1.4) the command "check_http -H hostname -S -C 20 --sni" gives a correct answer, but the new version (2.2.1) gives a wrong answer because the server responds with a 403 HTTP response. That is it always returns 1 no matter the expiry of the cert.
Is this a known problem, and is there a workaround ?
Best regards
Allan
Error incheck_http when checking cert expiration
-
kyang
Re: Error incheck_http when checking cert expiration
Hi @ajacobs,
This sounds like a known issue that has been reported and added to the bug fixes for the next version.
https://github.com/nagios-plugins/nagio ... issues/280
https://github.com/nagios-plugins/nagio ... issues/299
There is the option of downgrading back to 2.1.4 if you need the -C certificate check.
Does this help?
This sounds like a known issue that has been reported and added to the bug fixes for the next version.
https://github.com/nagios-plugins/nagio ... issues/280
https://github.com/nagios-plugins/nagio ... issues/299
There is the option of downgrading back to 2.1.4 if you need the -C certificate check.
Does this help?
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact: