[slurm-users] Slurm notifications, a more comprehensive solution - goslmailer

498 views
Skip to first unread message

Petar Jager

unread,
May 16, 2022, 8:21:38 AM5/16/22
to slurm...@lists.schedmd.com

Hello slurm users,

we, the Vienna BioCenter HPC team, got a bit carried away and developed a slightly elaborate slurm notification solution.

It acts as drop-in for regular MailProg mailer and can do:

* message delivery to: e-mail (enhanced classic), telegram, msteams
* gathering of job statistics
* generating hints for users on how to tune their job scripts
* template able messages
* message throttling

You can find it here: https://github.com/CLIP-HPC/goslmailer

We hope you find it interesting (and helpful) and if you have ideas or would like to contribute, feel free to reach out to us there :)


best,
Petar


--
Petar Jager
mailto:petar...@gmail.com

Hermann Schwärzler

unread,
May 17, 2022, 11:29:45 AM5/17/22
to slurm...@lists.schedmd.com
Hi Petar,

thanks for letting us know!
We will definitely look into this and will get back to you on GitHub
when technical questions/problems arise.

Just one quick question: we are neither using Telegram nor MS-Teams
here, but Matrix. In case we would like to deliver messages through
that: what's your guess on how much work it would be to implement it?

Regards,
Hermann
> mailto:petar...@gmail.com <mailto:petar...@gmail.com>

Petar Jager

unread,
May 18, 2022, 8:40:34 AM5/18/22
to Slurm User Community List

Hi Hermann,

You're welcome, looking forward to hearing some feedback from you.

Regarding the matrix integration, or any other for that matter, gosl code was written with extensibility in mind.
Meaning, all the helper code required to create a new connector is packaged and easily reusable.
If you take a look at telegram and msteams connectors, you'll see they're ~90% boilerplate code with a few lines of system specific api calls.

That makes the complexity of implementation depend solely on the API of the other system and implementers familiarity with it.
Guessing the time estimate is not simple, depends on a lot of factors.
For me, never having used the matrix and reading its documentation for the first time now, it would be much more than for someone familiar with it.
Together with the test system setup, understanding of the protocol, libraries, code, figuring out the preferred workflow, testing, etc.. I'd guess a couple of weeks (with my usual load).
For someone intimately familiar with matrix, probably it's measured in days.

I'd suggest you open an issue on github with this as a feature request, and if you have the resources to start working on the connector yourself, we'll be more than happy to assist you getting around,
or else we'll see if could manage the time on our side to tackle this if there is wider interest for this integration.

best,
Petar

Tomás Di Domenico

unread,
Jul 1, 2022, 5:26:00 AM7/1/22
to slurm...@lists.schedmd.com
Hello everyone.

For those interested, we've just added a Matrix connector to goslmailer,
which allows slurm to send messages to Matrix rooms. The README file of
the project [1] has details on functionality and features.

If you do use it, we'd love to hear your feedback!

Best,
Tomás

[1] https://github.com/CLIP-HPC/goslmailer
> <hermann.s...@uibk.ac.at <mailto:hermann.s...@uibk.ac.at>>
> mailto:petar...@gmail.com <mailto:petar...@gmail.com>

Petar Jager

unread,
Aug 10, 2022, 10:35:44 AM8/10/22
to Slurm User Community List

Dear slurm-users,

for interested parties, we have dropped another version of goslmailer (v.2.4.0), this time with a discord connector and bot.
Now supporting job notifications delivery to discord servers, in addition to already existing ones: matrix, telegram, msteams and e-mail.

As usual, all the information can be found at the project github README: https://github.com/CLIP-HPC/goslmailer

best,
Petar
Reply all
Reply to author
Forward
0 new messages