Skip to content

Server that collects metrics from Slurm and exposes them in the Prometheus format

License

Notifications You must be signed in to change notification settings

MSO4SC/slurm_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slurm Prometheus Exporter

Allow a server to collect metrics from SLURM and expose them in Prometheus format. The exporter accesses SLURM by ssh to a remote machine that can perform sacct, squeue, and sinfo commands.

Running it on the same machine as SLURM is not currently supported.

Install

Requires Go >=1.8

go get github.com/mso4sc/slurm_exporter
$GOPATH/src/github.com/mso4sc/slurm_exporter/utils/install.sh

Usage

slurm_exporter -host=<HOST> -ssh-user=<USER> -ssh-password=<PASSWD> [-listen-address=:<PORT>] [-countrytz=<TZ>] [-log.level=<LOGLEVEL>]

Defaults

<PORT>: :9100
<HOST>: localhost, not supported
<TZ>: Europe/Madrid
<LOGLEVEL>: error

Docker

https://hub.docker.com/r/mso4sc/slurm_exporter/

About

Server that collects metrics from Slurm and exposes them in the Prometheus format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published