HTTP WARNING: HTTP/1.1 404 Not Found - 492 bytes in 0.029 second response time

We are using check_http for monitoring URLs. But getting the Warning alert:

HTTP WARNING: HTTP/1.1 404 Not Found - 492 bytes in 0.029 second response time

Host Definition:

object Host "WEB02" {
  import "generic-host"
  address = "*.*.*.*"
  vars.service100 = "D"
  vars.http_vhosts["https://www.****.com/"] = {
  http_vhost = "https://www.****.com/"
  http_ssl = true
  }
  vars.http_vhosts["https://www.####.com/"] = {
  http_vhost = "https://www.####.com/""
  http_ssl = true
  }
  vars.os = "Windows"
  vars.groups = ["Windows Servers"]
}

Service Definition:

apply Service for (http_vhost => config in host.vars.http_vhosts) {
import "service_check" 
check_command = "http" vars += config
}

Hi there,

I edited your post for better readability. Please check how to format posts containing config snippets for future postings.

As for your problem:
What does the executed command line of the check look like?
Have you compared it to what you have tested on the CLI and yielded your desired result?

cheers :slight_smile: