Monitor Url

Good Morning

I would Like monitore Url www.toto.fr but when I test this one, the Url is always up.
You can find the configuration see below:

object Endpoint “URL” {
host = " Ip Adress "
}

object Zone “URL” {
endpoints = [ “URL” ]
parent = “Zone”
}

object Host “URL” {
display_name = “Application Name”
check_command = “hostalive”
address = “URL”
vars.type = "var type Name "

vars.http = {
uri["/"] = {
vhost = “URL”
#port = " Port Number"
uri = “/”
ssl = “1”
warn_time = “05”
critical_time = “10”
alerting = “oui”
}
}

   # Gestion de l'alerting
   vars.alerting_http         = "oui"

I don’t know why I stop the application this one is up.
Thanks for your help

Hello @kjeldorien!

You need “http” here.

Best,
AK