Closed MarcOverIP closed 1 year ago
Seems this is taken up at the module level for sending medium. Email and MSTeams already incorporate this, only Slack is still left to do.
@Matthijsy maybe you can add this? The slack message should include the project_name
from the config.
Prolly sufficient, but had no time to test just now, to change line 41 to the following:
"text": f'*[{config.project_name}] Alarm from {alarm["info"]["name"]} [{alarm["hits"]["total"]} hits]*\n{description}',
There is a config param
project_name
, but this is not used in every alarm. Please update every alarm to include this.Alarm "backend alarm module" does have the data in the alarm.