Hello,
I would like to create a trigger that create an alert if all services is offline.
For example, if you three devices that provide an HTTP service, each service is monitored with a trigger (with moderate severity). If one of them is offline, other can serve the HTTP service. However I want to trigger an alert if all of them were offline (with disaster severity).
The first idea is to create a trigger which aggregate all HTTP status like this:
This trigger will work, but I need to modify it manually if I add a new host.
Are there a method to trigger an alert without manual trigger configuration (in case of host discovery)?
I'm thinking about tags. Are there a method for trigger an alert if all triggers with a tag is triggered?
Best regards,
I would like to create a trigger that create an alert if all services is offline.
For example, if you three devices that provide an HTTP service, each service is monitored with a trigger (with moderate severity). If one of them is offline, other can serve the HTTP service. However I want to trigger an alert if all of them were offline (with disaster severity).
The first idea is to create a trigger which aggregate all HTTP status like this:
Code:
{host1:service_state.last()}<>0 and {host2:service_state.last()}<>0 and {host3:service_state.last()}<>0
Are there a method to trigger an alert without manual trigger configuration (in case of host discovery)?
I'm thinking about tags. Are there a method for trigger an alert if all triggers with a tag is triggered?
Best regards,
Comment