Thanks Ole,
I ended up getting event data from slurm command outputs, and it's working fine for now. I will surely be exploring your tools and wiki, awesome work!
El sáb, 31 ene 2026 a las 2:55, Ole Holm Nielsen via slurm-users (< slurm-users@lists.schedmd.com>) escribió:
Hi Mauricio,
My Wiki has a bit of information on Slurm triggers:
https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_operations/#slurm-trigger-in...
You can also find some examples of trigger scripts here: https://github.com/OleHolmNielsen/Slurm_tools/tree/master/triggers
IHTH, Ole
On 1/30/2026 4:10 PM, Mauricio Pinto via slurm-users wrote:
I am managing a cluster using SLURM, and want to use strigger to automate notifications about certain events like jobs or nodes failing or changing states, slurmctld failing, etc. I want the notifications I send to include information about the event, like which node, which state, which job ID, and so on. However, so far I haven't found documentation on how to get these values.
I did find a related thread <https:// eur01.safelinks.protection.outlook.com/? url=https%3A%2F%2Fgroups.google.com%2Fg%2Fslurm- users%2Fc%2FNhrlL32q0Io%2Fm%2FHKVd9l1yDgAJ&data=05%7C02%7Cole.h.nielsen%
40fysik.dtu.dk%7Cf26e910196d74092753008de601409bf%7Cf251f123c9ce448e927734bb285911d9%7C0%7C0%7C639053836352770148%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=%2BMQYCxlpkxwScJe%2FHeuFMIiGpYdr7GAwK907IjemDKI%3D&reserved=0> in the google groups archive. One of the replies includes a script which uses environment variables such as $SLURM_JOB_ID and $SLURM_JOB_NAME. How are these environment variables available? Is there documentation on which environment variables are available to strigger scripts? I'd appreciate any guidance you can provide.
On a separate note, I just joined this mailing list and haven't seen any community guidelines, preferred email format, etc. Please feel free to point them out to me or make suggestions if you have any.
-- Ole Holm Nielsen PhD, Senior HPC Officer Department of Physics, Technical University of Denmark
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-leave@lists.schedmd.com