I know by default the "Event Command" is executed on the "Command endpoint" doing the check for a device. Is there a way to change this or define which endpoint the event command is executed on? I need the Event commands to be executed on the master node and not the client when the host goes down.
If this is not possible is there a way that a script can be executed on the icinga2 master server if a host that is been monitor by a icinga2 client server goes down?