orchestracities / auth-management-ui

An UI for Anubis and FIWARE-based platforms
https://master--62bcedd6cc1b1300eb9e1607.chromatic.com/
Apache License 2.0
0 stars 1 forks source link

alarms - email body #192

Closed c0c0n3 closed 1 year ago

c0c0n3 commented 1 year ago

add a configurable message for the email notification body. the message should contain two placeholders, one for the service path and the other for the entity id. example:

alarm_notification_msg = "entity ${sp}/${id} hasn't been updated recently."

the alarms component substitutes the two placeholders with the actual entity ID and service path of the alarm's target entity before sending the email notificiation.

c0c0n3 commented 1 year ago

191 implemented a good-enough solution for now. it doesn't let you specify the service path and id place holders in the message, but it appends them automatically at the end of the message you specify in the config.