Skip to content

Proxmox

Install prerequisites

apt install libpve-apiclient-perl

SNMP Extend

  1. Download the script onto the desired host

    wget https://raw.githubusercontent.com/librenms/librenms-agent/master/agent-local/proxmox -O /usr/local/bin/proxmox
    
  2. Make the script executable

    chmod +x /usr/local/bin/proxmox
    
  3. Edit your snmpd.conf file (usually /etc/snmp/snmpd.conf) and add:

    extend proxmox /usr/local/bin/proxmox
    
  4. Note: if your snmpd doesn't run as root, you might have to invoke the script using sudo and modify the "extend" line

    extend proxmox /usr/bin/sudo /usr/local/bin/proxmox
    

    after, edit your sudo users (usually visudo) and add at the bottom:

    Debian-snmp ALL=(ALL) NOPASSWD: /usr/local/bin/proxmox
    
  5. Restart snmpd on your host