Is it possible to monitor a long list of public websites standalone?

So…

I kinda feel a bit like I am in a Dilbert strip (sorry to show my age… Here’s a nickel, kid.)

My PHB wants me to monitor about 300 public sites.

I made it work ok, but I had to create a host to apply the service checks on.

I created a dummy host called “the internet” so the service says checking google.com on the internet. Which was very impressive for the PHB. What I am wondering is, is it possbile just to check the website without any underlying host?

Below, see the current config, such as it is.

Cheers!

Nuffi

vars.sites = [
google.com”,
microsoft.com”,
redhat.com
etc.com
]

object Host “the internet” {
import “generic-host”
address = “127.0.0.1”
}

apply Service "Website " for (site in vars.sites) {
import “generic-service”

check_command = “http”
check_interval = 2m
vars.http_address = site
vars.http_site = site
vars.http_ssl = true

assign where host.name == “the internet” && vars.sites
}

apply Service "SSL Cert " for (site in vars.sites) {
import “generic-service”

check_command = “http”
check_interval = 2m
vars.http_address = site
vars.http_site = site
vars.http_ssl = true
vars.http_certificate = “16,8”

assign where host.name == “the internet” && vars.sites
}

No, a service always needs a host. creating a dummy host is a good idea.
use the check_command “dummy” for the host if you want it to be up all the time.