Gratia probe for SLURM resource manager
The probe connects to the SLURM accounting database, retrieves records for completed jobs, and submits the JobUsageRecords to Gratia.
*/15 * * * * root /usr/bin/slurm_meter -s 900 -c
Option | Description |
---|---|
SlurmDbHost="db.cluster.example.edu" | Database host |
SlurmDbPort="3306" | Database port |
SlurmDbUser="slurm" | Database username with read/only access |
SlurmDbPasswordFile="/etc/gratia/slurm/pwfile" | File containing database password. Must only be readable to the probe. (chmod 600) |
SlurmDbName="slurm_acct_db" | Name of SLURM accounting database |
SlurmCluster="mycluster" | Name of SLURM cluster, available from "sacctmgr list cluster" |
In addition to the settings above, there are additional options for the running jobs probe.
Option | Description |
---|---|
SlurmCEName="cluster.example.edu" | The FQDN of the cluster |