inputs.nvidia-smi
: Add config option to test a single run of nvidia-smi on plugin startup
#15915
Labels
feature request
Requests for new plugin and for new features to existing plugins
Use Case
There are some cases where the nvidia-smi plugin might be found in PATH and executable, but upon running it might always return a non-zero exit code. For various reasons, in the environment I work in, this might be expected. It's thus disruptive for system logs to be polluted with infinite error messages. It's preferable in this situation to check if nvidia-smi returns a good result on plugin startup, and if not, allow the error to be bubbled up and handled according to
startup_error_behavior
.Expected behavior
If
test_on_startup = true
andnvidia-smi
returns non-zero exit code, an error should be returned from theNvidiaSMI.Start
method.Actual behavior
Config option does not exist, thus the proposal.
Additional info
No response
The text was updated successfully, but these errors were encountered: