How does check_mk_active-http relate to check_http?

Hello,

I am trying to set up my Checkmk so that I can monitor several websites.

I’m having trouble with especially the HTTPS ones - where I receive either “HTTP WARNING: HTTP/1.1 400 Bad Request” when “Use SSL/HTTPS for the connection” isn’t set, or “CRITICAL - Cannot make SSL connection” when it is.

I can see that I can test the check_http plugin from the console, though the command that Checkmk uses - check_mk_active-http - seems to have a different syntax.

Is there any way I can test the check_mk_active-http command from the console?

And is there anything that I am missing that would allow me to hit the sweet spot between the two messages above?

Any advice would be appreciated.

Booth are the same. The “check_mk_active-http” is only an internal command name for “check_http”.
All the options you see behind this command are directly given to the “check_http”.
You should test the “check_http” with the shown options and can modify these to get the wanted result.

2 Likes