fix: remove snmp-mibs-downloader, only fetch UBNT MIBs from GitHub
Some checks failed
Build and push telegraf-snmp image / build-and-push-image (push) Failing after 1m37s
Some checks failed
Build and push telegraf-snmp image / build-and-push-image (push) Failing after 1m37s
snmp-mibs-downloader is in Debian non-free and not needed — the UBNT MIBs required for UniFi SNMP polling are fetched directly from GitHub.
This commit is contained in:
parent
c6104d3426
commit
1021800126
@ -2,8 +2,7 @@ FROM telegraf:latest
|
||||
LABEL org.opencontainers.image.authors="dockerimage@dresi.wtf"
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends snmp-mibs-downloader wget && \
|
||||
download-mibs 2>/dev/null || true && \
|
||||
apt-get install -y --no-install-recommends wget && \
|
||||
wget -q -O /usr/share/snmp/mibs/UBNT-MIB \
|
||||
https://raw.githubusercontent.com/librenms/librenms/master/mibs/ubiquiti/UBNT-MIB && \
|
||||
wget -q -O /usr/share/snmp/mibs/UBNT-UniFi-MIB \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user