CMK version: check-mk-raw-2.1.0p2 OS version: Debian GNU/Linux 11 (bullseye)
Error message: HTTP WARNING: HTTP/1.1 404 Not Found - 466 bytes in 0.003 second response time
What it seems it doesn’t work is the URI parameter.
From the command line it works:
root@lxorslog01:/omd/sites/ors/lib/nagios/plugins# ./check_http -H -u ‘’
HTTP OK: HTTP/1.1 200 OK - 11950 bytes in 0.062 second response time |time=0.061996s;;;0.000000;10.000000 size=11950B;;;0
Can it be a bug in the web interface?
Output of “cmk --debug -vvn hostname”: Check_MK can be used only as site user. (If it is a problem with checks or plugins)
you probably meant 2.1.0p20 ?
If you click on the service in the web interface and scroll down you can see what is executed in line Service check command - e.g:
@mcalorio and to be sure you have used the same http-rule? So the conditions are the same?
I am not sure if $_ is telling that it must be a custom host attribute but if not I would say it is the IPv4 Address of the Host you have in you conditions.
If you click on the host details where that http check is configured then you can see there the host attributes.
Hi @mcalorio
I thought we are talking about forum.checkmk.com what you have configured for testing? Can you show please the host detail page where the not working http check is configured?
and the same for the service… if you click on the HTTP service in the monitoring status you get on the detail page and down there is the Check defined which is executed.
But why there is a port in your vhost? Never saw a vhost with port. That should just be the server_name in your nginx config or what webserver you are using…
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.