For some of the critical hosts I would like to send the mail notification with high priority when the host is down/up. Need some help to configure this. After some research I found that /etc/icinga2/scripts/mail-host-notification.sh needs to be modified but not sure what/where to change.
Also, I am thinking about assigning a custom variable to these critical hosts and apply a notification apply rule but could not find such assignment filter. So the issue is how to send notification emails with high priority to certain critical hosts.
ICINGA version: r2.10.5-1
Director version: 1.6.2