From c6e879bc65e2f6d16b74139ce2d1f7670c3d06e1 Mon Sep 17 00:00:00 2001 From: Sebastian Schubert Date: Thu, 28 Nov 2024 21:18:06 +0100 Subject: [PATCH 1/3] updated apc download url and instructions in case of download fail Signed-off-by: Sebastian Schubert --- generator/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/generator/Makefile b/generator/Makefile index 97527eeb..54b4d577 100644 --- a/generator/Makefile +++ b/generator/Makefile @@ -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_enDocType=Firmware&p_File_Name=powernet455.mib&p_Doc_Ref=APC_POWERNETMIB_455_EN 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 @@ -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 From cdc3c6d67e4006d14ef98788813e161a1ef68035 Mon Sep 17 00:00:00 2001 From: Sebastian Schubert Date: Thu, 28 Nov 2024 21:22:09 +0100 Subject: [PATCH 2/3] fixed the url param doc_ref and changed the url params to match with the copy and paste able output of the schneider website Signed-off-by: Sebastian Schubert --- generator/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/Makefile b/generator/Makefile index 54b4d577..486e571d 100644 --- a/generator/Makefile +++ b/generator/Makefile @@ -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=powernet455.mib&p_Doc_Ref=APC_POWERNETMIB_455_EN +APC_URL := https://download.schneider-electric.com/files?p_File_Name=powernet455.mib&p_Doc_Ref=APC_POWERNETMIB_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 From 0b27f4e2adc89db08bc81617177262c919c4237c Mon Sep 17 00:00:00 2001 From: Sebastian Schubert Date: Thu, 28 Nov 2024 22:18:02 +0100 Subject: [PATCH 3/3] =?UTF-8?q?downgraded=20to=20the=20last=20functioning?= =?UTF-8?q?=20version,=20the=20new=20455=20is=20missing=20a=20lot=20of=20o?= =?UTF-8?q?id=20(=E2=95=AF=C2=B0=E2=96=A1=C2=B0)=E2=95=AF=EF=B8=B5=20?= =?UTF-8?q?=E2=94=BB=E2=94=81=E2=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Schubert --- generator/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/Makefile b/generator/Makefile index 486e571d..82940712 100644 --- a/generator/Makefile +++ b/generator/Makefile @@ -31,7 +31,7 @@ ifeq ($(SELINUX_ENABLED),1) DOCKER_VOL_OPTS ?= :z endif -APC_URL := https://download.schneider-electric.com/files?p_File_Name=powernet455.mib&p_Doc_Ref=APC_POWERNETMIB_EN&p_enDocType=Firmware +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