Skip to content

Commit

Permalink
Add powercom MIBs
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <me@teran.dev>
  • Loading branch information
teran committed Oct 30, 2024
1 parent df1b28d commit afedc00
Show file tree
Hide file tree
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
Expand Up @@ -60,6 +60,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
Expand Down Expand Up @@ -152,7 +153,8 @@ mibs: \
$(MIBDIR)/LIEBERT_GP_PDU.MIB \
$(MIBDIR)/CyberPower.MIB \
$(MIBDIR)/EAP.MIB \
$(MIBDIR)/EAP-Client.MIB
$(MIBDIR)/EAP-Client.MIB \
$(MIBDIR)/powercom.txt

$(MIBDIR)/apc-powernet-mib:
@echo ">> Downloading apc-powernet-mib"
Expand Down Expand Up @@ -382,3 +384,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.txt "$(POWERCOM_URL)"
14 changes: 14 additions & 0 deletions generator/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -752,3 +752,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 afedc00

Please sign in to comment.