@@ -31,34 +31,35 @@ ifeq ($(SELINUX_ENABLED),1)
3131 DOCKER_VOL_OPTS ?= :z
3232endif
3333
34- APC_URL := https://download.schneider-electric.com/files?p_enDocType=Firmware&p_File_Name=powernet451.mib&p_Doc_Ref=APC_POWERNETMIB_451_EN
35- ARISTA_URL := https://www.arista.com/assets/data/docs/MIBS
36- CISCO_URL := https://raw.githubusercontent.com/cisco/cisco-mibs/2d465cce2de4e67a3561d8e41e4c99b597558d4b/v2
37- DELL_URL := https://dl.dell.com/FOLDER11196144M/1/Dell-OM-MIBS-11010_A00.zip
38- IANA_CHARSET_URL := https://www.iana.org/assignments/ianacharset-mib/ianacharset-mib
39- IANA_IFTYPE_URL := https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib
40- IANA_PRINTER_URL := https://www.iana.org/assignments/ianaprinter-mib/ianaprinter-mib
41- KEEPALIVED_URL := https://raw.githubusercontent.com/acassen/keepalived/v2.2.8/doc/KEEPALIVED-MIB.txt
42- VRRP_URL := https://raw.githubusercontent.com/acassen/keepalived/v2.2.8/doc/VRRP-MIB.txt
43- VRRPV3_URL := https://raw.githubusercontent.com/acassen/keepalived/v2.2.8/doc/VRRPv3-MIB.txt
44- KEMP_LM_URL := https://kemptechnologies.com/files/packages/current/LM_mibs.zip
45- MIKROTIK_URL := 'https://box.mikrotik.com/f/a41daf63d0c14347a088/?dl=1'
46- NEC_URL := https://jpn.nec.com/univerge/ix/Manual/MIB
47- NET_SNMP_URL := https://raw.githubusercontent.com/net-snmp/net-snmp/v5.9/mibs
48- PALOALTO_URL := https://docs.paloaltonetworks.com/content/dam/techdocs/en_US/zip/snmp-mib/pan-10-0-snmp-mib-modules.zip
49- PRINTER_URL := https://ftp.pwg.org/pub/pwg/pmp/mibs/rfc3805b.mib
50- SERVERTECH_URL := 'https://cdn10.servertech.com/assets/documents/documents/817/original/Sentry3.mib'
51- SERVERTECH4_URL := 'https://cdn10.servertech.com/assets/documents/documents/815/original/Sentry4.mib'
52- SYNOLOGY_URL := 'https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_MIB_File.zip'
53- UBNT_AIROS_URL := https://dl.ubnt.com/firmwares/airos-ubnt-mib/ubnt-mib.zip
54- UBNT_AIRFIBER_URL := https://dl.ubnt.com/firmwares/airfiber5X/v4.1.0/UBNT-MIB.txt
55- UBNT_DL_URL := http://dl.ubnt-ut.com/snmp
56- RARITAN_URL := https://cdn.raritan.com/download/PX/v1.5.20/PDU-MIB.txt
57- RARITAN2_URL := https://cdn1.raritan.com/download/src-g2/4.0.20/PDU2_MIB_4.0.20_49038.txt
58- INFRAPOWER_URL := https://www.austin-hughes.com/wp-content/uploads/2021/05/IPD-03-S-MIB.zip
59- LIEBERT_URL := https://www.vertiv.com/globalassets/documents/software/monitoring/lgpmib-win_rev16_299461_0.zip
60- READYNAS_URL := https://www.downloads.netgear.com/files/ReadyNAS/READYNAS-MIB.txt
61- READYDATAOS_URL := https://www.circitor.fr/Mibs/Mib/R/READYDATAOS-MIB.mib
34+ APC_URL := https://download.schneider-electric.com/files?p_enDocType=Firmware&p_File_Name=powernet451.mib&p_Doc_Ref=APC_POWERNETMIB_451_EN
35+ ARISTA_URL := https://www.arista.com/assets/data/docs/MIBS
36+ CISCO_URL := https://raw.githubusercontent.com/cisco/cisco-mibs/2d465cce2de4e67a3561d8e41e4c99b597558d4b/v2
37+ DELL_URL := https://dl.dell.com/FOLDER11196144M/1/Dell-OM-MIBS-11010_A00.zip
38+ IANA_CHARSET_URL := https://www.iana.org/assignments/ianacharset-mib/ianacharset-mib
39+ IANA_IFTYPE_URL := https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib
40+ IANA_PRINTER_URL := https://www.iana.org/assignments/ianaprinter-mib/ianaprinter-mib
41+ KEEPALIVED_URL := https://raw.githubusercontent.com/acassen/keepalived/v2.2.8/doc/KEEPALIVED-MIB.txt
42+ VRRP_URL := https://raw.githubusercontent.com/acassen/keepalived/v2.2.8/doc/VRRP-MIB.txt
43+ VRRPV3_URL := https://raw.githubusercontent.com/acassen/keepalived/v2.2.8/doc/VRRPv3-MIB.txt
44+ KEMP_LM_URL := https://kemptechnologies.com/files/packages/current/LM_mibs.zip
45+ MIKROTIK_URL := 'https://box.mikrotik.com/f/a41daf63d0c14347a088/?dl=1'
46+ NEC_URL := https://jpn.nec.com/univerge/ix/Manual/MIB
47+ NET_SNMP_URL := https://raw.githubusercontent.com/net-snmp/net-snmp/v5.9/mibs
48+ PALOALTO_URL := https://docs.paloaltonetworks.com/content/dam/techdocs/en_US/zip/snmp-mib/pan-10-0-snmp-mib-modules.zip
49+ PRINTER_URL := https://ftp.pwg.org/pub/pwg/pmp/mibs/rfc3805b.mib
50+ SERVERTECH_URL := 'https://cdn10.servertech.com/assets/documents/documents/817/original/Sentry3.mib'
51+ SERVERTECH4_URL := 'https://cdn10.servertech.com/assets/documents/documents/815/original/Sentry4.mib'
52+ SYNOLOGY_URL := 'https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_MIB_File.zip'
53+ UBNT_AIROS_URL := https://dl.ubnt.com/firmwares/airos-ubnt-mib/ubnt-mib.zip
54+ UBNT_AIRFIBER_URL := https://dl.ubnt.com/firmwares/airfiber5X/v4.1.0/UBNT-MIB.txt
55+ UBNT_DL_URL := http://dl.ubnt-ut.com/snmp
56+ RARITAN_URL := https://cdn.raritan.com/download/PX/v1.5.20/PDU-MIB.txt
57+ RARITAN2_URL := https://cdn1.raritan.com/download/src-g2/4.0.20/PDU2_MIB_4.0.20_49038.txt
58+ INFRAPOWER_URL := https://www.austin-hughes.com/wp-content/uploads/2021/05/IPD-03-S-MIB.zip
59+ LIEBERT_URL := https://www.vertiv.com/globalassets/documents/software/monitoring/lgpmib-win_rev16_299461_0.zip
60+ READYNAS_URL := https://www.downloads.netgear.com/files/ReadyNAS/READYNAS-MIB.txt
61+ READYDATAOS_URL := https://www.circitor.fr/Mibs/Mib/R/READYDATAOS-MIB.mib
62+ SCHNEIDER_PM55XX_URL := https://ckm-content.se.com/ckmContent/sfc/servlet.shepherd/document/download/0691H00000GYnUPQA1
6263
6364CYBERPOWER_VERSION := 2.11
6465CYBERPOWER_URL := https://dl4jz3rbrsfum.cloudfront.net/software/CyberPower_MIB_v$(CYBERPOWER_VERSION ) .MIB.zip
@@ -112,6 +113,7 @@ mibs: \
112113 $(MIBDIR)/apc-powernet-mib \
113114 $(MIBDIR)/readynas \
114115 $(MIBDIR)/readydataos \
116+ $(MIBDIR)/SchneiderPM55xx_V01_13.mib \
115117 $(MIBDIR)/AIRESPACE-REF-MIB \
116118 $(MIBDIR)/AIRESPACE-WIRELESS-MIB \
117119 $(MIBDIR)/ARISTA-ENTITY-SENSOR-MIB \
@@ -368,3 +370,12 @@ $(MIBDIR)/readynas:
368370$(MIBDIR ) /readydataos :
369371 @echo " >> Downloading readydataos"
370372 @curl $(CURL_OPTS ) -o $(MIBDIR ) /readydataos " $( READYDATAOS_URL) "
373+
374+ $(MIBDIR ) /SchneiderPM55xx_V01_13.mib :
375+ $(eval TMP := $(shell mktemp) )
376+ @echo " >> Downloading SchneiderPM55xx_V01_13.mib to $( TMP) "
377+ @curl $(CURL_OPTS ) -o $(TMP ) $(SCHNEIDER_PM55XX_URL )
378+ @unzip -j -d $(MIBDIR ) $(TMP ) PM5560_PM5563_v2.1.0/SchneiderPM55xx_V01_13.mib
379+ # Workaround invalid character in Schneider MIB
380+ @sed -i ' s/_//g' $(MIBDIR ) /SchneiderPM55xx_V01_13.mib
381+ @rm -v $(TMP )
0 commit comments