I've got a monit setup to http check several subdomains of an http server.
Currently, they are multiple check host statements that look like this:
CHECK HOST a.example.com with address 1.2.3.4
if failed url https://blah then alert
CHECK HOST b.example.com with address 1.2.3.4
if failed url https://blah then alert
It's possible for either the entire server to be in a failed state, or for any subdomain.
In instances where the entire server is down, or if we've lost a load balancer, I would like not to receive notifications for a dozen individual subdomains.
Can a single failed test disable a subsequent test? Is it possible to group all of these URLs under a single HOST section and combine them in an OR ?