How to change icinga2 mail alert subject format

How can I change the mail notification subject from this format
[PROBLEM] {SERVICE NAME} on {HOST DISPLAY NAME} is {CRITICAL/WARNING/RESOLVED}!

To the below format
[<CRITICAL/WARNING/RESOLVED>] {HOST DISPLAY NAME} / {SERVICE NAME}

Edit the "command"s called by your Notification templates:

https://icinga.com/docs/icinga-2/latest/doc/03-monitoring-basics/
#alert-notifications

Antony.

1 Like