New slurm read plugins (do not necessarily merge) #1198
Slurm is a job scheduler and workload manager that is very popular among the HPC community.
This pull request proposes 2 new read plugins to get metrics out of Slurm:
My intent is not necessarily to merge these plugins in upstream collectd repository (unless you would be happy to do so), but I would be pleased to get code review from peers and people used to develop such collectd plugins :)
I've tried to follow the development guidelines and re-use existing functions as much as possible. As I am not an experienced C developer very familiar with portability considerations (only tested on Linux and amd64), I would be pleased to get feedback on this matter too!
The text was updated successfully, but these errors were encountered:
When slurmd is build with multiple slurmd per node support, the name of the subdirectory where the cgroups are created changes to include the hostname (cpuset/slurm_NODENAME instead of cpuset/slurm). This patch supports this by trying both and add an option to select a node name if the nodename is not the local hostname.