Proxmox
Install prerequisites
apt install libpve-apiclient-perl
SNMP Extend
-
Download the script onto the desired host
wget https://raw.githubusercontent.com/librenms/librenms-agent/master/agent-local/proxmox -O /usr/local/bin/proxmox
-
Make the script executable
chmod +x /usr/local/bin/proxmox
-
Edit your snmpd.conf file (usually
/etc/snmp/snmpd.conf
) and add:extend proxmox /usr/local/bin/proxmox
-
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
-
Restart snmpd on your host