Monitoring health /Process info

Hi all,
I would like to know how can we prioritize the server of Active Endpoint once the service is down on the active/current server.(master server in my case

Currently if the service Icinga2 is down on the server(master) of Active Endpoint , systematically it switches to a satellite server.Therefore it detects only the hosts attached to this satellite. Then I’ve to stop the service on this server in order to come back to the master server.
probably I’ve an issue how the zones.conf is defined, but I didn’t find the way to fix it ,or at least prioritize this switchover
In advance thanks for your help