CAPEv2
CAPEv2
- Copy the shell script to the host.
wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/cape -O /etc/snmp/cape
- Make the script executable.
chmod +x /etc/snmp/cape
- Edit your
snmpd.conffile, usually/etc/snmp/snmpd.conf, and add:
extend cape /etc/snmp/cape
- Install the required packages.
apt-get install libfile-readbackwards-perl libjson-perl libconfig-tiny-perl libdbi-perl libfile-slurp-perl libstatistics-lite-perl
- Restart snmpd on your host.
LibreNMS discovers the application automatically, as described at the top of the page. If the discovery fails, do the steps under the SNMP Extend heading at the top of the page.