[slurm-users] monitor draining/drain nodes

Marcus Boden mboden at gwdg.de
Tue Jun 15 05:29:54 UTC 2021


I think your slurm-user has /sbin/nologin as the the shell in 
/etc/passwd. Try `su -s /bin/bash slurm`.

Best,
Marcus

On 14.06.21 20:52, Rodrigo Santibáñez wrote:
> 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.
> 
> Best,
> 
> On Mon, Jun 14, 2021 at 5:09 AM Ole Holm Nielsen <Ole.H.Nielsen at fysik.dtu.dk>
> wrote:
> 
>> 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
>>
>>
> 

-- 
Marcus Vincent Boden, M.Sc.
Arbeitsgruppe eScience, HPC-Team
Tel.:   +49 (0)551 201-2191, E-Mail: mboden at gwdg.de
-------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG)
Am Faßberg 11, 37077 Göttingen, URL: https://www.gwdg.de

Support: Tel.: +49 551 201-1523, URL: https://www.gwdg.de/support
Sekretariat: Tel.: +49 551 201-1510, Fax: -2150, E-Mail: gwdg at gwdg.de

Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lossau
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598

Zertifiziert nach ISO 9001
-------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5376 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210615/2805e75a/attachment-0001.bin>


More information about the slurm-users mailing list