Skip to content

Nvidia GPU

Nvidia GPU

SNMP Extend

  1. Copy the shell script, nvidia, to the desired host

    wget https://github.com/librenms/librenms-agent/raw/master/snmp/nvidia -O /etc/snmp/nvidia
    
  2. Make the script executable

    chmod +x /etc/snmp/nvidia
    
  3. Edit your snmpd.conf file and add:

    extend nvidia /etc/snmp/nvidia
    
  4. Restart snmpd on your host.

    sudo systemctl restart snmpd
    
  5. 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.