OFFICIAL: CheckMK check_http help

Nigel Leach Nigel.Leach at
Fri May 28 15:36:13 CEST 2021


I'm running Check_MK version 1.6.0p19 CRE

I'm trying to monitor a very simple locally hosted website via check_http.

For simplicity during testing I am attempting to monitor it from the standard linux agent on one of our CheckMK servers.

I have included my settings on the attached screenshot, but these are the pertinent details.

Service Name:                            Test Website
Hosts name / IP address:    
TCP Port:                                   443
Use SSL/HTTPS for the connection: Auto Negotiation
Explicit hosts:                             checkmkserver

The services on the host show this error

HTTPS Test Website HTTP WARNING: HTTP/1.1 400 Bad Request - 4107 bytes in 0.137 second response time

With the Service Check Command being

check_mk_active-http!'--ssl' '--sni' '-p' '443' ''

I don't really understand why it is failing, but more interesting is that it works on the CheclMk server itself (which is where the agent doing the monitoring is defined).

OMD[checkmkserver]:~$ /opt/omd/versions/1.6.0p19.cre/lib/nagios/plugins/check_http --ssl --sni -p 443 -H
HTTP OK: HTTP/1.1 200 OK - 12205 bytes in 0.143 second response time |time=0.143125s;;;0.000000;10.000000 size=12205B;;;0

The difference seems to be that the Service Check Command is missing -H, am I being dense somewhere ?

Any help much appreciated.


******************************************************************************************* The information contained in the Email and any attachments is confidential and intended solely and for the attention and use of the named addressee(s). It may not be disclosed to any other person without the express authority of the PHE, or the intended recipient or both. If you are not the intended recipient, you must not disclose, copy, distribute or retain this message or any part of it. This footnote also confirms that this Email has been swept for computer viruses by Exchange Online Protection, but please re-sweep any attachments before opening or saving. HTTP:// *******************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 92 bytes
Desc: image001.gif
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 28-05-2021 14-28-52.png
Type: image/png
Size: 72229 bytes
Desc: 28-05-2021 14-28-52.png
URL: <>

More information about the Help mailing list