I try to configure a Check HTTP service to monitor certain ip over https.
The Graph is ok but the Output of check plugin show this message:
“HTTP WARNING: HTTP/1.1 400 Bad Request - 160 bytes in 0.070 second response time”
This is my configuration:
Hosts name / IP address: 172.17.4.2
TCP Port: 443
Mode of the Check: Check the URL,
URI to fetch (default is /): /demo/index.html
Use SSL/HTTPS for the connection: Use SSL with auto negotiation
Expected response time: 100.00 ms, 200.00 ms
Advanced: Disable SSL/TLS hostname extension support (SNI):
The HyperText Transfer Protocol (HTTP) 400 Bad Request response status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
From what I can see your settings should be OK. Can you access the the URL from the check_mk server using other means? E.g. a browser or something like wget?