Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slurm collector: Investigate switch to Slurm REST API #532

Open
QuantumDancer opened this issue Nov 9, 2023 · 0 comments
Open

Slurm collector: Investigate switch to Slurm REST API #532

QuantumDancer opened this issue Nov 9, 2023 · 0 comments
Assignees

Comments

@QuantumDancer
Copy link
Collaborator

Instead of retrieving jobs from slurm via the sacct command and subsequent parsing of the output, we could also leverage the SLURM REST API. In particular, the GET /slurmdb/v0.0.39/jobs endpoint looks like it contains most of the functionality that sacct provides.

Plan of action:

  1. Investigate if the aforementioned endpoint (or another one) supplies all the functionality needed by us
  2. If yes, rework the slurm collector so that it uses the REST API (which should be nicer than parsing the CLI output by hand)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants