Page 1 of 1

check_http --ssl gives 403

Posted: Sun Mar 13, 2022 10:27 am
by openappPW
Hi,

Been running the same checks for years now and seldom have issues. Recently did an upgrade of Nagios and the OS on it's machine and have now some issues. Was running on Debian 9.13, Nagios 4.4.3. Now on Debian 10 with Nagios 4.4.6

check_http -H host.domain.com Response gives 301 (website redirects http to https by default)
check_http -H host.comain.com --ssl Response is 403.

I can't understand why I get a 403 when there is no IP whitelist/blacklist on the site.

I don't get anything in my nginx logs when Nagios gets 403.

I'm struggling to debug the issue.

Any advice on what to check??