Skip to content

Commit

Permalink
Merge pull request #1350 from grafana/module/dell_network
Browse files Browse the repository at this point in the history
Add DELL networking devices module
  • Loading branch information
bastischubert authored Feb 8, 2025
2 parents c6c3622 + 3bb9b7b commit aab10aa
Show file tree
Hide file tree
Showing 3 changed files with 493 additions and 1 deletion.
18 changes: 17 additions & 1 deletion generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ CISCO_URL := https://raw.githubusercontent.com/cisco/cisco-mibs/f55dc443
DELL_URL := https://dl.dell.com/FOLDER11196144M/1/Dell-OM-MIBS-11010_A00.zip
DLINK_URL := https://ftp.dlink.de/des/des-3200-18/driver_software/DES-3200-18_mib_revC_4-04_all_en_20130603.zip
ELTEX_MES_URL := https://eltex-co.com/upload/iblock/93c/80760x03yv4m8crugf0b8ab5yo8tel34/mibs_10.3.6.6.zip
DELL_NETWORK_URL := https://supportkb.dell.com/attachment/ka02R000000I7TFQA0/Current_MIBs_pkb_en_US_1.zip
HPE_URL := https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1580676047/v229101/upd11.85mib.tar.gz
IANA_CHARSET_URL := https://www.iana.org/assignments/ianacharset-mib/ianacharset-mib
IANA_IFTYPE_URL := https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib
Expand Down Expand Up @@ -90,6 +91,7 @@ clean:
$(MIBDIR)/.cisco_imc \
$(MIBDIR)/.dell \
$(MIBDIR)/.dlink-mibs \
$(MIBDIR)/.dell-network \
$(MIBDIR)/.hpe-mib \
$(MIBDIR)/.net-snmp \
$(MIBDIR)/.paloalto_panos \
Expand Down Expand Up @@ -177,7 +179,8 @@ mibs: \
$(MIBDIR)/FROGFOOT-RESOURCES-MIB \
$(MIBDIR)/.dlink-mibs \
$(MIBDIR)/.eltex-mes \
$(MIBDIR)/.juniper
$(MIBDIR)/.juniper \
$(MIBDIR)/.dell-network

$(MIBDIR)/apc-powernet-mib:
@echo ">> Downloading apc-powernet-mib"
Expand Down Expand Up @@ -489,3 +492,16 @@ $(MIBDIR)/.juniper:
JuniperMibs/mib-jnx-subscriber.txt
@rm -v $(TMP)
@touch $(MIBDIR)/.juniper

$(MIBDIR)/.dell-network:
$(eval TMP := $(shell mktemp))
@echo ">> Downloading Dell network mibs to $(TMP)"
@curl $(CURL_OPTS) -o $(TMP) $(DELL_NETWORK_URL)
@unzip -j -d $(MIBDIR)/dell $(TMP) DELL-NETWORKING-MIB-9.14.2.1.zip
@unzip -j -d $(MIBDIR) $(MIBDIR)/dell/DELL-NETWORKING-MIB-9.14.2.1.zip \
DELL-NETWORKING-CHASSIS-MIB.mib \
DELL-NETWORKING-TC.mib \
DELL-NETWORKING-SMI.mib
@rm -rfv $(TMP) $(MIBDIR)/dell
@touch $(MIBDIR)/.dell-network

17 changes: 17 additions & 0 deletions generator/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,23 @@ modules:
- 1.3.6.1.4.1.674.10892.5.2 # statusGroup
- 1.3.6.1.4.1.674.10892.5.4 # systemDetailsGroup
- 1.3.6.1.4.1.674.10892.5.5 # storageDetailsGroup
# Dell network (Force10)
dell_network:
walk:
- DELL-NETWORKING-CHASSIS-MIB::dellNetCpuUtilTable
- DELL-NETWORKING-CHASSIS-MIB::dellNetPowerSupplyTable
- DELL-NETWORKING-CHASSIS-MIB::dellNetSwModuleTable
- DELL-NETWORKING-CHASSIS-MIB::dellNetFlashStorageTable
overrides:
dellNetPowerSupplyIndex:
ignore: true
dellNetFanDeviceType:
type: EnumAsInfo
dellNetPowerDeviceType:
type: EnumAsInfo
dellNetProcessorDeviceType:
type: EnumAsInfo


# D-Link managed switches (DES-3200)
dlink:
Expand Down
Loading

0 comments on commit aab10aa

Please sign in to comment.