Skip to content

Commit

Permalink
Merge branch 'main' into add_imc_mibs_short
Browse files Browse the repository at this point in the history
  • Loading branch information
bastischubert authored Nov 28, 2024
2 parents f86efe3 + 28b7b8c commit f93ae1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ifeq ($(SELINUX_ENABLED),1)
DOCKER_VOL_OPTS ?= :z
endif

APC_URL := https://download.schneider-electric.com/files?p_enDocType=Firmware&p_File_Name=powernet451.mib&p_Doc_Ref=APC_POWERNETMIB_451_EN
APC_URL := https://download.schneider-electric.com/files?p_File_Name=powernet452.mib&p_Doc_Ref=APC_POWERNETMIB_452_EN&p_enDocType=Firmware
ARISTA_URL := https://www.arista.com/assets/data/docs/MIBS
CISCO_URL := https://raw.githubusercontent.com/cisco/cisco-mibs/f55dc443daff58dfc86a764047ded2248bb94e12/v2
DELL_URL := https://dl.dell.com/FOLDER11196144M/1/Dell-OM-MIBS-11010_A00.zip
Expand Down Expand Up @@ -162,7 +162,8 @@ mibs: \
$(MIBDIR)/cisco_imc

$(MIBDIR)/apc-powernet-mib:
@echo ">> Downloading apc-powernet-mib"
@echo ">> Downloading apc-powernet-mib"
@echo ">> if download fails please check https://www.se.com/at/de/search/?q=powernet+mib&submit+search+query=Search for the latest release"
@curl $(CURL_OPTS) -o $(MIBDIR)/apc-powernet-mib "$(APC_URL)"
# Workaround to make DisplayString available (#867)
@sed -i.bak -E 's/(DisplayString[[:space:]]*FROM )RFC1213-MIB/\1SNMPv2-TC/' $(MIBDIR)/apc-powernet-mib
Expand Down

0 comments on commit f93ae1c

Please sign in to comment.