check_http --ssl gives 403

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
openappPW
Posts: 2
Joined: Sun Mar 13, 2022 10:00 am

check_http --ssl gives 403

Post 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??
Locked