Re: [slurm-users] Slurm strigger configuration

2018-09-20 Thread Jodie H. Sprouse
Thank you to both Kilian and Chris, I have running on the slurm server to report once when any of the nodes go into “Drain” State: sudo -u slurm bash -c “strigger --set -D -p /etc/slurm/triggers/slurm_admin_notify --flags=perm" /bin/mail -s “ClusterName DrainedNode:$*” our_admin_email_address

Re: [slurm-users] Slurm strigger configuration

2018-09-19 Thread Christopher Benjamin Coffey
Killian, thank you very much! Never noticed the perm flag! Best, Chris — Christopher Coffey High-Performance Computing Northern Arizona University 928-523-1167 On 9/19/18, 10:01 AM, "slurm-users on behalf of Kilian Cavalotti" wrote: On Wed, Sep 19, 2018 at 9:21 AM Christopher Benjamin

Re: [slurm-users] Slurm strigger configuration

2018-09-19 Thread Kilian Cavalotti
On Wed, Sep 19, 2018 at 9:21 AM Christopher Benjamin Coffey wrote: > The only thing that I've gotten working so far is this: > sudo -u slurm bash -c "strigger --set -D -n cn15 -p > /common/adm/slurm/triggers/nodestatus" > > So, that will run the nodestatus script which emails when the node cn15 g

Re: [slurm-users] Slurm strigger configuration

2018-09-19 Thread Christopher Benjamin Coffey
Hi Jodie, The only thing that I've gotten working so far is this: sudo -u slurm bash -c "strigger --set -D -n cn15 -p /common/adm/slurm/triggers/nodestatus" So, that will run the nodestatus script which emails when the node cn15 gets set into drain state. What I'd like to do, which I haven't p