Check HTTP service - HTTP/1.1 401 Unauthorized

Hi
I have created a check HTTP service, like the screenshot.
The website requires login, so I get an Unauthorized, is there a way to change the check, so it just checks if the site is online and ignore the login part_

HTTP WARNING: HTTP/1.1 401 Unauthorized - 164 bytes in 0.009 second response time

1 Like

Hi Denis,

the new check_http2 in 2.3 has an extra field for status code:

I would suggest using this, with the old check_http you can also build that with the expect option:

1 Like

Thanks for this.

Will note to change when upgrading to 2.3

Until that the other fix worked, thanks for this.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.