telegraf/plugins/inputs/nvidia_smi/sample.conf

16 lines
821 B
Plaintext

# Pulls statistics from nvidia GPUs attached to the host
[[inputs.nvidia_smi]]
## Optional: path to nvidia-smi binary, defaults "/usr/bin/nvidia-smi"
## We will first try to locate the nvidia-smi binary with the explicitly specified value (or default value),
## if it is not found, we will try to locate it on PATH(exec.LookPath), if it is still not found, an error will be returned
# bin_path = "/usr/bin/nvidia-smi"
## Optional: timeout for GPU polling
# timeout = "5s"
## Optional: Attempt to run nvidia-smi once on startup. If nvidia-smi returns a non-zero
## exit code, the plugin will return an error. This is particularly useful
## if used in conjunction with `startup_error_behavior` to allow the plugin to be
## disabled if nvidia-smi cannot run successfully.
# probe_on_startup = false