container-images/telegraf-snmp/Dockerfile
dresi b237e769f1
Some checks failed
Build and push telegraf-snmp image / build-and-push-image (push) Failing after 1m39s
fix: correct MIB path from ubiquiti to ubnt in LibreNMS repo
2026-06-10 14:25:57 +02:00

9 lines
413 B
Docker

FROM telegraf:latest
LABEL org.opencontainers.image.authors="dockerimage@dresi.wtf"
RUN wget -q -O /usr/share/snmp/mibs/UBNT-MIB \
https://raw.githubusercontent.com/librenms/librenms/master/mibs/ubnt/UBNT-MIB && \
wget -q -O /usr/share/snmp/mibs/UBNT-UniFi-MIB \
https://raw.githubusercontent.com/librenms/librenms/master/mibs/ubnt/UBNT-UniFi-MIB && \
echo "mibs +ALL" >> /etc/snmp/snmp.conf