modulepackage
0.0.0-20210122121726-401e0200190b
Repository: https://github.com/mso4sc/slurm_exporter.git
Documentation: pkg.go.dev
# README
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
# Packages
No description provided by the author
# Functions
NewSlurmCollector creates a new Slurm Queue collector.
# Variables
StatusDict maps string status with its int values.
# Structs
SlurmCollector collects metrics from the Slurm queues.