Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add powercom MIBs
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <[email protected]>
teran committed Oct 31, 2024

Verified

This commit was signed with the committer’s verified signature.
florianduros Florian Duros
1 parent 0c6b6ed commit c642f67
Showing 2 changed files with 21 additions and 1 deletion.
8 changes: 7 additions & 1 deletion generator/Makefile
Original file line number Diff line number Diff line change
@@ -61,6 +61,7 @@ LIEBERT_URL := https://www.vertiv.com/globalassets/documents/software/moni
READYNAS_URL := https://www.downloads.netgear.com/files/ReadyNAS/READYNAS-MIB.txt
READYDATAOS_URL := https://www.downloads.netgear.com/files/GDC/RD5200/READYDATA_MIB.zip
SOPHOS_XG_URL := https://docs.sophos.com/nsg/sophos-firewall/MIB/SOPHOS-XG-MIB.zip
POWERCOM_URL := https://www.upspowercom.com/pcm-img/Card-DA807/Upsmate_PCM.mib

CYBERPOWER_VERSION := 2.11
CYBERPOWER_URL := https://dl4jz3rbrsfum.cloudfront.net/software/CyberPower_MIB_v$(CYBERPOWER_VERSION).MIB.zip
@@ -154,7 +155,8 @@ mibs: \
$(MIBDIR)/LIEBERT_GP_PDU.MIB \
$(MIBDIR)/CyberPower.MIB \
$(MIBDIR)/EAP.MIB \
$(MIBDIR)/EAP-Client.MIB
$(MIBDIR)/EAP-Client.MIB \
$(MIBDIR)/powercom

$(MIBDIR)/apc-powernet-mib:
@echo ">> Downloading apc-powernet-mib"
@@ -393,3 +395,7 @@ $(MIBDIR)/readydataos:
@unzip -j -d $(MIBDIR) $(TMP) READYDATAOS-MIB.txt
@mv -v $(MIBDIR)/READYDATAOS-MIB.txt $(MIBDIR)/readydataos
@rm -v $(TMP)

$(MIBDIR)/powercom:
@echo ">> Downloading powercom"
@curl $(CURL_OPTS) -o $(MIBDIR)/powercom "$(POWERCOM_URL)"
14 changes: 14 additions & 0 deletions generator/generator.yml
Original file line number Diff line number Diff line change
@@ -771,3 +771,17 @@ modules:
hrSWInstalled:
walk:
- hrSWInstalled

#
# Powercom MIBs
#
# https://www.upspowercom.com/Card-DA807.jsp
#
powercom:
walk:
- 1.3.6.1.4.1.935.1.1.1.1
- 1.3.6.1.4.1.935.1.1.1.2
- 1.3.6.1.4.1.935.1.1.1.3
- 1.3.6.1.4.1.935.1.1.1.4
- 1.3.6.1.4.1.935.1.1.1.9
- 1.3.6.1.4.1.476.1.42.3

0 comments on commit c642f67

Please sign in to comment.