[slurm-users] monitor draining/drain nodes

Rodrigo Santibáñez rsantibanez.uchile at gmail.com
Mon Jun 14 18:52:11 UTC 2021

Thank you Marcus, Ole and Samuel.

Regarding Samuel's answer, I added ifne from moreutils before mail to not
have empty emails.

Regarding strigger, I don't know how to become the slurm user. "su slurm"
complains "This account is currently not available.". The user "slurm"
exists and is the SlurmUser.


On Mon, Jun 14, 2021 at 5:09 AM Ole Holm Nielsen <Ole.H.Nielsen at fysik.dtu.dk>

> On 6/14/21 7:50 AM, Marcus Boden wrote:
> > Slurm provides the strigger[1] utility for that. You can set it up to
> > automatically send mails when nodes go into drain.
> I provide some Slurm triggers examples in
> https://github.com/OleHolmNielsen/Slurm_tools/tree/master/triggers
> > On 12.06.21 22:29, Rodrigo Santibáñez wrote:
> >> Hi SLURM users,
> >>
> >> Does anyone have a cronjob or similar to monitor and warn via e-mail
> when a
> >> node is in draining/drain status?
> /Ole
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210614/20745fe8/attachment.htm>

More information about the slurm-users mailing list