Skip to content

Commit

Permalink
Merge pull request #1303 from prometheus/bastischubert/fix-apc-downlo…
Browse files Browse the repository at this point in the history
…ad-url-452

apc mib update
  • Loading branch information
bastischubert authored Nov 28, 2024
2 parents c771f70 + 0b27f4e commit 28b7b8c
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 @@ -159,7 +159,8 @@ mibs: \
$(MIBDIR)/powercom

$(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 28b7b8c

Please sign in to comment.