ursl / tessie

tessie controls the CMS phase-2 TEPX cold box
https://github.com/ursl/tessie
1 stars 3 forks source link

Email notification for tessie alarm #23

Open amrutha-psi96 opened 1 month ago

amrutha-psi96 commented 1 month ago

Dear developer :)

Since our new labs are quite sound proof, I am not able to hear the tessie alarms when I am not present at the lab where tessie is installed. So, it would be great if I can get an email notification when there is a red alarm. Could you please implement this function in tessie?

Thank you, Amrutha

clelange commented 1 month ago

We can also use (CERN) Mattermost notifications

ursl commented 1 month ago

I looked into the email hook yesterday. I have no strong opinion, except if PSI (network) rules make emails too hard to achieve. Not sure yet.

I have found https://developers.mattermost.com/integrate/webhooks/incoming/ which might be the way for mattermost.

Regarding mattermost: I think for that channel to be useful, more people should be subscribed to it (most notably Amrutha and Wolfram : - )

clelange commented 1 month ago

For email, you can ask PSI IT (via ServiceNow) to allow anonymous email sending on a given host.

For Mattermost, I'd suggest to use https://mattermost.web.cern.ch/psi-xpluscharm/channels/lab-monitoring (and then we instruct people to adjust their notification settings). I think Mattermost is easier since it can also trigger emails (and emails aren't really meant for alarms).

ursl commented 1 month ago

https://openautomationsoftware.com/knowledge-base/mqttt-alarm-notification/