Hello i am trying to configure a check for HTTPS with the "check_xi_service_http" command. However when running the check the response appears to be returning "HTTP OK: HTTP/1.1 301 Moved Permanently - 503 bytes in 0.161 second response time", any ideas why it is not reporting on HTTPS?
Screenshot of my service configuration:
https://imgur.com/CuKcKuW
HTTPS Check Issue
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: HTTPS Check Issue
HTTP OK: HTTP/1.1 is just the protocol... If you add --ssl like you did, it is forcing a SSL connection
It also seems there is a redirection going on, and if you want it to follow that redirect you should add
It also seems there is a redirection going on, and if you want it to follow that redirect you should add
Code: Select all
-f follow
- ciscosucks123
- Posts: 17
- Joined: Fri Oct 18, 2019 10:52 am
Re: HTTPS Check Issue
Ok wasn't sure if that was the case, thanks for confirming.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: HTTPS Check Issue
No problemciscosucks123 wrote:Ok wasn't sure if that was the case, thanks for confirming.
Locking thread