Poudriere
Intall prerequisites
pkg install p5-Data-Dumper p5-JSON p5-MIME-Base64 p5-File-Slurp
SNMP Extend
-
Copy the extend into place
wget https://github.com/librenms/librenms-agent/raw/master/snmp/poudriere -O /usr/local/etc/snmp/poudriere
-
Make it executable.
chmod +x /usr/local/etc/snmp/poudriere
-
Setup the cronjob. The extend needs to be ran as root. See
poudriere --help
for option info.4/5 * * * * root /usr/local/etc/snmp/poudriere -q -a -w -z
-
Add the extend to snmpd.conf and restart snmpd
extend poudriere cat /var/cache/poudriere.json.snmp