Skip to content

Poudriere

Install prerequisites

pkg install p5-Data-Dumper p5-JSON p5-MIME-Base64 p5-File-Slurp

SNMP Extend

  1. Copy the extend into place

    wget https://github.com/librenms/librenms-agent/raw/master/snmp/poudriere -O /usr/local/etc/snmp/poudriere
    
  2. Make it executable.

    chmod +x /usr/local/etc/snmp/poudriere
    
  3. Add the cronjob. The extend runs as root. For the options, read poudriere --help.

    4/5 * * * * root /usr/local/etc/snmp/poudriere -q -a -w -z
    

  4. Add the extend to snmpd.conf and restart snmpd.

    extend poudriere cat /var/cache/poudriere.json.snmp