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.conf file and add:
extend nvidia /etc/snmp/nvidia
-
Restart snmpd on your host.
sudo systemctl restart snmpd
-
Verify you have nvidia-smi installed, which it generally should be if you have the driver from Nvida installed.
The GPU numbering on the graphs will correspond to how the 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.