Some checks failed
Build and push telegraf-snmp-unifi image / build-and-push-image (push) Failing after 1m32s
13 lines
551 B
Docker
13 lines
551 B
Docker
FROM telegraf:latest
|
|
LABEL org.opencontainers.image.authors="dockerimage@dresi.wtf"
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y snmp snmp-mibs-downloader && \
|
|
download-mibs && \
|
|
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 && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
echo "mibs +ALL" >> /etc/snmp/snmp.conf
|