librenms/librenms-agent

nvidia snmp agent doesn't work with new driver version 450 -> 550

Opened this issue · 0 comments

Hi,

I have observed and corrected the number of variables returned by nvidia snmp agent.
I'd like to contribute the corrected code.

While I have successfully tested output on new drivers (NVIDIA-SMI 550.54.15), the script is compatible also with older versions(like NVIDIA-SMI 450.51.06). I have both new and olds. The requirement is the temporary file (best on tmpfs storage like /dev/shm or /tmp) to further not execute the big (and slow) nvidia-smi binary, but only to work on the once-executed output.

The corrected script is attached to the issue as txt file for review.
UPDATED file:
nvidia.txt