Skip to content

Commit

Permalink
Add missing UCD-SNMP-MIB to generator Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Brazil <[email protected]>
  • Loading branch information
brian-brazil committed Jan 30, 2019
1 parent 8007162 commit 41dce1c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ SERVERTECH_URL := 'ftp://ftp.servertech.com/Pub/SNMP/sentry3/Sentry3.mib'
SYNOLOGY_URL := 'https://global.download.synology.com/download/Document/MIBGuide/Synology_MIB_File.zip'
UBNT_DL_URL := http://dl.ubnt-ut.com/snmp
UBNT_AIROS_URL := https://dl.ubnt.com/firmwares/airos-ubnt-mib/ubnt-mib.zip
UCD_URL := http://www.net-snmp.org/docs/mibs/UCD-SNMP-MIB.txt


.DEFAULT: all
Expand Down Expand Up @@ -50,7 +51,8 @@ mibs: mib-dir \
$(MIBDIR)/.synology \
$(MIBDIR)/UBNT-MIB \
$(MIBDIR)/UBNT-UniFi-MIB \
$(MIBDIR)/UBNT-AirMAX-MIB.txt
$(MIBDIR)/UBNT-AirMAX-MIB.txt \
$(MIBDIR)/UCD-SNMP-MIB.txt

mib-dir:
@mkdir -p -v $(MIBDIR)
Expand Down Expand Up @@ -119,3 +121,7 @@ $(MIBDIR)/UBNT-AirMAX-MIB.txt:
@curl -s -o $(TMP) -L $(UBNT_AIROS_URL)
@unzip -j -d $(MIBDIR) $(TMP) UBNT-AirMAX-MIB.txt
@rm -v $(TMP)

$(MIBDIR)/UCD-SNMP-MIB.txt:
@echo ">> Downloading UCD-SNMP-MIB.txt"
@curl -s -o $(MIBDIR)/UCD-SNMP-MIB.txt -L "$(UCD_URL)"

0 comments on commit 41dce1c

Please sign in to comment.