I want to aggregate a check for many services running over multiple devices.
For example, my setup:
Server1-> ServiceA
Server2-> ServiceA
Server3-> ServiceB
Server4-> ServiceB
Atm I am checking the services like that:
$SERVICESTATEID:Server1:ServiceA
$SERVICESTATEID:Server2:ServiceA
$SERVICESTATEID:Server3:ServiceB
$SERVICESTATEID:Server4:ServiceB
Is there any way to group different services cluster inside the same check?
If 1 of 2 ServiceA is down ==>W
If 1 of 2 ServiceB is down ==> W
If 1xServiceA and 1xServiceB is down ==> W (and not down)
-w 1 -c 2 will not cover the last case
Thank you