Skip to content

Commit

Permalink
Add schleifenbauer generator.yml and Mib downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Wqrld authored Jul 17, 2024
1 parent 0720589 commit 23f4a9d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
13 changes: 12 additions & 1 deletion generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ INFRAPOWER_URL := https://www.austin-hughes.com/wp-content/uploads/2021/05/IP
LIEBERT_URL := https://www.vertiv.com/globalassets/documents/software/monitoring/lgpmib-win_rev16_299461_0.zip
READYNAS_URL := https://www.downloads.netgear.com/files/ReadyNAS/READYNAS-MIB.txt
READYDATAOS_URL := https://www.circitor.fr/Mibs/Mib/R/READYDATAOS-MIB.mib
SCHLEIFENBAUER_URL := https://docs.schleifenbauer.eu/Interfaces/SNMP/PDU_mib_278.zip

CYBERPOWER_VERSION := 2.11
CYBERPOWER_URL := https://dl4jz3rbrsfum.cloudfront.net/software/CyberPower_MIB_v$(CYBERPOWER_VERSION).MIB.zip
Expand Down Expand Up @@ -149,7 +150,10 @@ mibs: \
$(MIBDIR)/LIEBERT_GP_PDU.MIB \
$(MIBDIR)/CyberPower.MIB \
$(MIBDIR)/EAP.MIB \
$(MIBDIR)/EAP-Client.MIB
$(MIBDIR)/EAP-Client.MIB \
$(MIBDIR)/SCHLEIFENBAUER-PRODUCTS-MIB.txt \
$(MIBDIR)/SCHLEIFENBAUER-DATABUS-MIB.txt \
$(MIBDIR)/SCHLEIFENBAUER-SMI.txt

$(MIBDIR)/apc-powernet-mib:
@echo ">> Downloading apc-powernet-mib"
Expand Down Expand Up @@ -367,3 +371,10 @@ $(MIBDIR)/readynas:
$(MIBDIR)/readydataos:
@echo ">> Downloading readydataos"
@curl $(CURL_OPTS) -o $(MIBDIR)/readydataos "$(READYDATAOS_URL)"

$(MIBDIR)/SCHLEIFENBAUER-PRODUCTS-MIB.txt $(MIBDIR)/SCHLEIFENBAUER-DATABUS-MIB.txt $(MIBDIR)/SCHLEIFENBAUER-SMI.txt:
$(eval TMP := $(shell mktemp))
@echo ">> Downloading schleifenbauer to $(TMP)"
@curl $(CURL_OPTS) -o $(TMP) $(SCHLEIFENBAUER_URL)
@unzip -j -d $(MIBDIR) $(TMP) SCHLEIFENBAUER-PRODUCTS-MIB.txt SCHLEIFENBAUER-DATABUS-MIB.txt SCHLEIFENBAUER-SMI.txt
@rm -v $(TMP)
8 changes: 8 additions & 0 deletions generator/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -628,3 +628,11 @@ modules:
hrSWInstalled:
walk:
- hrSWInstalled

#
# Schleifenbauer
#
# https://docs.schleifenbauer.eu/?dir=Interfaces/SNMP
schleifenbauer:
walk:
- 1.3.6.1.4.1.31034.12

0 comments on commit 23f4a9d

Please sign in to comment.