Nvidia GPU
Nvidia GPU
SNMP Extend
-
Copy the shell script, nvidia, to the desired host
wget https://github.com/librenms/librenms-agent/raw/master/snmp/nvidia -O /etc/snmp/nvidia -
Make the script executable.
chmod +x /etc/snmp/nvidia -
Edit your
snmpd.conffile and add:extend nvidia /etc/snmp/nvidia -
Restart snmpd on your host.
sudo systemctl restart snmpd -
Make sure that
nvidia-smiis installed. The Nvidia driver usually installs it.The GPU numbers on the graphs match the numbers of nvidia-smi sees them as being.
For questions about what the various values are/mean, please see the nvidia-smi man file under the section covering dmon.