Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cisco IMC MIBs #1293

Merged
merged 19 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ READYNAS_URL := https://www.downloads.netgear.com/files/ReadyNAS/READYNAS-M
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
CISCO_CUCS_URL := https://raw.githubusercontent.com/cisco/cisco-mibs/refs/heads/main/ucs-C-Series-mibs/UCS_Cseries3.0.tar

CYBERPOWER_VERSION := 2.11
CYBERPOWER_URL := https://dl4jz3rbrsfum.cloudfront.net/software/CyberPower_MIB_v$(CYBERPOWER_VERSION).MIB.zip
Expand Down Expand Up @@ -399,3 +400,10 @@ $(MIBDIR)/readydataos:
$(MIBDIR)/powercom:
@echo ">> Downloading powercom"
@curl $(CURL_OPTS) -o $(MIBDIR)/powercom "$(POWERCOM_URL)"

$(MIBDIR)/cisco_imc:
ranmalka marked this conversation as resolved.
Show resolved Hide resolved
bastischubert marked this conversation as resolved.
Show resolved Hide resolved
$(eval TMP := $(shell mktemp))
$(eval TMP_DIR := $(shell mktemp -d))
@echo ">> Downloading Cisco UCS to $(TMP)"
@curl $(CURL_OPTS) $(CURL_USER_AGENT) -o $(TMP) $(CISCO_CUCS_URL)
@tar -xf $(TMP) -C $(MIBDIR)/cisco_imc
ranmalka marked this conversation as resolved.
Show resolved Hide resolved
5 changes: 5 additions & 0 deletions generator/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -837,3 +837,8 @@ modules:
- 1.3.6.1.4.1.935.1.1.1.9.2.2 # upsEnvUnderTemperature
- 1.3.6.1.4.1.935.1.1.1.9.2.3 # upsEnvOverHumidity
- 1.3.6.1.4.1.935.1.1.1.9.2.4 # upsEnvUnderHumidity
cisco_imc:
walk:
- 1.3.6.1.4.1.9.9.719.1.45.1.1.6 #cucsStorageControllerOperState
- 1.3.6.1.4.1.9.9.719.1.1.1.1.11 #cucsFaultDescription
- 1.3.6.1.4.1.9.9.719.1.1.1.1.20 #cucsFaultSeverity
Loading