1
0
Fork 0
telegraf/plugins/inputs/slurm/sample.conf
Daniel Baumann 4978089aab
Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-24 07:26:29 +02:00

46 lines
1.9 KiB
Text

# Gather SLURM metrics
[[inputs.slurm]]
## Slurmrestd URL. Both http and https can be used as schemas.
url = "http://127.0.0.1:6820"
## Credentials for JWT-based authentication.
# username = "foo"
# token = "topSecret"
## Enabled endpoints
## List of endpoints a user can acquire data from.
## Available values are: diag, jobs, nodes, partitions, reservations.
# enabled_endpoints = ["diag", "jobs", "nodes", "partitions", "reservations"]
## Maximum time to receive a response. If set to 0s, the
## request will not time out.
# response_timeout = "5s"
## Optional TLS Config. Note these options will only
## be taken into account when the scheme specififed on
## the URL parameter is https. They will be silently
## ignored otherwise.
## Set to true/false to enforce TLS being enabled/disabled. If not set,
## enable TLS only if any of the other options are specified.
# tls_enable =
## Trusted root certificates for server
# tls_ca = "/path/to/cafile"
## Used for TLS client certificate authentication
# tls_cert = "/path/to/certfile"
## Used for TLS client certificate authentication
# tls_key = "/path/to/keyfile"
## Password for the key file if it is encrypted
# tls_key_pwd = ""
## Send the specified TLS server name via SNI
# tls_server_name = "kubernetes.example.com"
## Minimal TLS version to accept by the client
# tls_min_version = "TLS12"
## List of ciphers to accept, by default all secure ciphers will be accepted
## See https://pkg.go.dev/crypto/tls#pkg-constants for supported values.
## Use "all", "secure" and "insecure" to add all support ciphers, secure
## suites or insecure suites respectively.
# tls_cipher_suites = ["secure"]
## Renegotiation method, "never", "once" or "freely"
# tls_renegotiation_method = "never"
## Use TLS but skip chain & host verification
# insecure_skip_verify = false