Compare commits

..

No commits in common. "ad47824a4a38bc7fb3bd116148ff10939682d7f9" and "3280a9ebea5d3e46f90a09cd72a98d0e84804d6c" have entirely different histories.

View File

@ -1,18 +1,8 @@
FROM telegraf:latest
LABEL org.opencontainers.image.authors="dockerimage@dresi.wtf"
RUN cd /usr/share/snmp/mibs && \
wget -q https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/SNMPv2-SMI.txt \
https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/SNMPv2-TC.txt \
https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/SNMPv2-CONF.txt \
https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/SNMPv2-MIB.txt \
https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/RFC1213-MIB.txt \
https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/HCNUM-TC.txt \
https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/HOST-RESOURCES-MIB.txt \
https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/IF-MIB.txt \
https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/SNMP-FRAMEWORK-MIB.txt && \
wget -q -O UBNT-MIB \
RUN wget -q -O /usr/share/snmp/mibs/UBNT-MIB \
https://raw.githubusercontent.com/librenms/librenms/master/mibs/ubnt/UBNT-MIB && \
wget -q -O UBNT-UniFi-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