Hi Davide, Two things you may want to look into:
1. some (most?) web services have "email-to-service" mechanisms of some sort: for instance, you can send an email to a Slack channel, which will create a message from it: https://slack.com/help/articles/206819278-Send-emails-to-Slack 2. Slurm has a trigger mechanism, which can act upon a variety of events: https://slurm.schedmd.com/strigger.html "Triggers include events such as a node failing, a job reaching its time limit or a job terminating." Registering a trigger for each job will probably be a bit on the heavy-side on busy environments, but at least, Slurm can do it. Cheers, -- Kilian On Mon, Apr 21, 2025 at 11:46 AM Davide DelVento via slurm-users <slurm-users@lists.schedmd.com> wrote: > > Happy Monday everybody, > > I've gotten a request to have Slurm notify users for the typical email things > (job started, completed, failed, etc) with a REST API instead of email. This > would allow notifications in MS Teams, Slack, or log stuff in some internal > websites and things like that. > > As far as I can tell, Slurm does not support that, for example there was > somebody who was looking for that on Galaxy and did not find a solution: > https://help.galaxyproject.org/t/web-hook-post-to-external-url-when-job-begins-and-completes-running/4017 > Is that indeed the case, as searching the web indicates? > > If Slurm does not support this, is there a workaround? For example, I'm > thinking of installing a local SMTP server, or an alternative/dummy mailx > program which instead of relaying emails as requested would post an encrypted > web url thing using the information from the email. I am sure I could > actually write such a software myself, but I don't have enough time to > dedicate to the design, maintenance and debugging of such, so I am looking > for something decent already in existence. A cursory web search did not find > anything suitable, but perhaps I did not look in the appropriate places, > because my gut feeling is that somebody must have already had such an itch to > scratch! > > Any other ideas about alternative ways to accomplish this? > > Thanks > > > > -- > slurm-users mailing list -- slurm-users@lists.schedmd.com > To unsubscribe send an email to slurm-users-le...@lists.schedmd.com -- Kilian -- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com