Prometheus exporter to get SLURM metrics from an HPC (it executes remotely accessing the HPC by ssh)
3.8K
Prometheus exporter that publish Slurm metrics from a remote HPC (connected by ssh).
# docker run --rm -d -p 9100:9100 mso4sc/slurm_exporter -host=<HOST> -ssh-user=<USER> -ssh-password=<PASSWD>
ea994b6b6ac2c73f10ca2a1150e32938031ad98a786dab5554772140c1a35c16
# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ea994b6b6ac2 mso4sc/slurm_exporter "slurm_exporter -l..." 7 minutes ago Up 3 seconds 0.0.0.0:9100->9100/tcp dreamy_spence
$ curl localhost:9100/metrics
# HELP ....
One script in docker folder helps working with docker:
run.sh runs a new exporter in a new container. It returns the container ID and HOST PORT.
To build the image locally, the script build.sh helps doing it.
Content type
Image
Digest
Size
138 MB
Last updated
over 5 years ago
docker pull mso4sc/slurm_exporter