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 DELL networking devices module #1350

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

v-zhuravlev
Copy link
Contributor

With CPU/memory, powersupport status, software versions used.

sample output from Dell Force MXL-10:

# HELP dellNetCpuFlashUsage Total flash usage in percentage. - 1.3.6.1.4.1.6027.3.26.1.4.4.1.7
# TYPE dellNetCpuFlashUsage gauge
dellNetCpuFlashUsage{dellNetProcessorDeviceIndex="0",dellNetProcessorDeviceType="2",dellNetProcessorIndex="1"} 0
# HELP dellNetCpuUtil1Min CPU utilization in percentage for last 1 minute. - 1.3.6.1.4.1.6027.3.26.1.4.4.1.4
# TYPE dellNetCpuUtil1Min gauge
dellNetCpuUtil1Min{dellNetProcessorDeviceIndex="0",dellNetProcessorDeviceType="2",dellNetProcessorIndex="1"} 0
# HELP dellNetCpuUtil5Min CPU utilization in percentage for last 5 minutes. - 1.3.6.1.4.1.6027.3.26.1.4.4.1.5
# TYPE dellNetCpuUtil5Min gauge
dellNetCpuUtil5Min{dellNetProcessorDeviceIndex="0",dellNetProcessorDeviceType="2",dellNetProcessorIndex="1"} 0
# HELP dellNetCpuUtil5Sec CPU utilization in percentage for last 5 seconds. - 1.3.6.1.4.1.6027.3.26.1.4.4.1.1
# TYPE dellNetCpuUtil5Sec gauge
dellNetCpuUtil5Sec{dellNetProcessorDeviceIndex="0",dellNetProcessorDeviceType="2",dellNetProcessorIndex="1"} 1
# HELP dellNetCpuUtilMemUsage Total Memory usage in percentage. - 1.3.6.1.4.1.6027.3.26.1.4.4.1.6
# TYPE dellNetCpuUtilMemUsage gauge
dellNetCpuUtilMemUsage{dellNetProcessorDeviceIndex="0",dellNetProcessorDeviceType="2",dellNetProcessorIndex="1"} 42
# HELP dellNetPowerSupplyExpressServiceCode The power supply's express service code. - 1.3.6.1.4.1.6027.3.26.1.4.6.1.9
# TYPE dellNetPowerSupplyExpressServiceCode gauge
dellNetPowerSupplyExpressServiceCode{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyExpressServiceCode="",dellNetPowerSupplyIndex="1"} 1
dellNetPowerSupplyExpressServiceCode{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyExpressServiceCode="",dellNetPowerSupplyIndex="2"} 1
# HELP dellNetPowerSupplyIndex The unique index of the power supply. - 1.3.6.1.4.1.6027.3.26.1.4.6.1.3
# TYPE dellNetPowerSupplyIndex gauge
dellNetPowerSupplyIndex{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="1"} 1
dellNetPowerSupplyIndex{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="2"} 2
# HELP dellNetPowerSupplyOperStatus The status of the power supply. - 1.3.6.1.4.1.6027.3.26.1.4.6.1.4
# TYPE dellNetPowerSupplyOperStatus gauge
dellNetPowerSupplyOperStatus{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="1"} 0
dellNetPowerSupplyOperStatus{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="2"} 0
# HELP dellNetPowerSupplyPPIDRevision The power supply's PPID revision. - 1.3.6.1.4.1.6027.3.26.1.4.6.1.7
# TYPE dellNetPowerSupplyPPIDRevision gauge
dellNetPowerSupplyPPIDRevision{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="1",dellNetPowerSupplyPPIDRevision=""} 1
dellNetPowerSupplyPPIDRevision{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="2",dellNetPowerSupplyPPIDRevision=""} 1
# HELP dellNetPowerSupplyPiecePartID The power supply's piece part id. - 1.3.6.1.4.1.6027.3.26.1.4.6.1.6
# TYPE dellNetPowerSupplyPiecePartID gauge
dellNetPowerSupplyPiecePartID{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="1",dellNetPowerSupplyPiecePartID=""} 1
dellNetPowerSupplyPiecePartID{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="2",dellNetPowerSupplyPiecePartID=""} 1
# HELP dellNetPowerSupplyServiceTag The power supply's service tag. - 1.3.6.1.4.1.6027.3.26.1.4.6.1.8
# TYPE dellNetPowerSupplyServiceTag gauge
dellNetPowerSupplyServiceTag{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="1",dellNetPowerSupplyServiceTag=""} 1
dellNetPowerSupplyServiceTag{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="2",dellNetPowerSupplyServiceTag=""} 1
# HELP dellNetPowerSupplyType The type of the power supply. - 1.3.6.1.4.1.6027.3.26.1.4.6.1.5
# TYPE dellNetPowerSupplyType gauge
dellNetPowerSupplyType{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="1"} 1
dellNetPowerSupplyType{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="2"} 1
# HELP dellNetPowerSupplyUsage Power usage of this Power Supply in Watts. - 1.3.6.1.4.1.6027.3.26.1.4.6.1.10
# TYPE dellNetPowerSupplyUsage gauge
dellNetPowerSupplyUsage{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="1"} 0
dellNetPowerSupplyUsage{dellNetPowerDeviceIndex="0",dellNetPowerDeviceType="2",dellNetPowerSupplyIndex="2"} 0
# HELP dellNetSwModuleBootFlashImgVersion This provides the Grub image version that is currently running in the processor. - 1.3.6.1.4.1.6027.3.26.1.4.5.1.3
# TYPE dellNetSwModuleBootFlashImgVersion gauge
dellNetSwModuleBootFlashImgVersion{dellNetProcessorDeviceIndex="1",dellNetProcessorDeviceType="2",dellNetSwModuleBootFlashImgVersion="4.0.1.3"} 1
# HELP dellNetSwModuleBootSelectorImgVersion This provides the BIOS image version that is currently running in the processor. - 1.3.6.1.4.1.6027.3.26.1.4.5.1.4
# TYPE dellNetSwModuleBootSelectorImgVersion gauge
dellNetSwModuleBootSelectorImgVersion{dellNetProcessorDeviceIndex="1",dellNetProcessorDeviceType="2",dellNetSwModuleBootSelectorImgVersion="4.0.0.2"} 1
# HELP dellNetSwModuleCurrentBootImage The current image is booted from - 1.3.6.1.4.1.6027.3.26.1.4.5.1.6
# TYPE dellNetSwModuleCurrentBootImage gauge
dellNetSwModuleCurrentBootImage{dellNetProcessorDeviceIndex="1",dellNetProcessorDeviceType="2"} 2
# HELP dellNetSwModuleInPartitionAImgVers This provides the Dell Networking OS system image version that is stored in partition A: and The version string has Major and Minor release numbers - 1.3.6.1.4.1.6027.3.26.1.4.5.1.7
# TYPE dellNetSwModuleInPartitionAImgVers gauge
dellNetSwModuleInPartitionAImgVers{dellNetProcessorDeviceIndex="1",dellNetProcessorDeviceType="2",dellNetSwModuleInPartitionAImgVers="9.9(0.0)"} 1
# HELP dellNetSwModuleInPartitionBImgVers This provides the Dell Networking OS system image version that is stored in partition B: and The version string has Major and Minor release numbers - 1.3.6.1.4.1.6027.3.26.1.4.5.1.8
# TYPE dellNetSwModuleInPartitionBImgVers gauge
dellNetSwModuleInPartitionBImgVers{dellNetProcessorDeviceIndex="1",dellNetProcessorDeviceType="2",dellNetSwModuleInPartitionBImgVers="9.10(0.1P3)"} 1
# HELP dellNetSwModuleNextRebootImage The image selection, when the chassis is rebooted - 1.3.6.1.4.1.6027.3.26.1.4.5.1.5
# TYPE dellNetSwModuleNextRebootImage gauge
dellNetSwModuleNextRebootImage{dellNetProcessorDeviceIndex="1",dellNetProcessorDeviceType="2"} 3
# HELP dellNetSwModuleRuntimeImgDate The release date of this software module. - 1.3.6.1.4.1.6027.3.26.1.4.5.1.2
# TYPE dellNetSwModuleRuntimeImgDate gauge
dellNetSwModuleRuntimeImgDate{dellNetProcessorDeviceIndex="1",dellNetProcessorDeviceType="2",dellNetSwModuleRuntimeImgDate="0x547565204A756E2031342031353A30303A32332032303136"} 1
# HELP dellNetSwModuleRuntimeImgVersion Current Dell Networking OS image version running in the system - 1.3.6.1.4.1.6027.3.26.1.4.5.1.1
# TYPE dellNetSwModuleRuntimeImgVersion gauge
dellNetSwModuleRuntimeImgVersion{dellNetProcessorDeviceIndex="1",dellNetProcessorDeviceType="2",dellNetSwModuleRuntimeImgVersion="9.10(0.1P3)"} 1
# HELP snmp_scrape_duration_seconds Total SNMP time scrape took (walk and processing).
# TYPE snmp_scrape_duration_seconds gauge
snmp_scrape_duration_seconds{module="dell_network"} 0.032976042
snmp_scrape_duration_seconds{module="system"} 0.015420667
# HELP snmp_scrape_packets_retried Packets retried for get, bulkget, and walk.
# TYPE snmp_scrape_packets_retried gauge
snmp_scrape_packets_retried{module="dell_network"} 0
snmp_scrape_packets_retried{module="system"} 0
# HELP snmp_scrape_packets_sent Packets sent for get, bulkget, and walk; including retries.
# TYPE snmp_scrape_packets_sent gauge
snmp_scrape_packets_sent{module="dell_network"} 5
snmp_scrape_packets_sent{module="system"} 1
# HELP snmp_scrape_pdus_returned PDUs returned from get, bulkget, and walk.
# TYPE snmp_scrape_pdus_returned gauge
snmp_scrape_pdus_returned{module="dell_network"} 29
snmp_scrape_pdus_returned{module="system"} 7
# HELP snmp_scrape_walk_duration_seconds Time SNMP walk/bulkwalk took.
# TYPE snmp_scrape_walk_duration_seconds gauge
snmp_scrape_walk_duration_seconds{module="dell_network"} 0.032798667
snmp_scrape_walk_duration_seconds{module="system"} 0.015379375
# HELP sysContact The textual identification of the contact person for this managed node, together with information on how to contact this person - 1.3.6.1.2.1.1.4
# TYPE sysContact gauge
sysContact{sysContact="MRs-servers"} 1
# HELP sysDescr A textual description of the entity - 1.3.6.1.2.1.1.1
# TYPE sysDescr gauge
sysDescr{sysDescr="Dell Networking OS Operating System Version: 2.0 Application Software Version: 9.10(0.1P3) Series: MXL-10/40GbE Copyright (c) 1999-2016 by Dell Inc. All Rights Reserved. Build Time: Tue Jun 14  15:00:23 2016"} 1
# HELP sysLocation The physical location of this node (e.g., 'telephone closet, 3rd floor') - 1.3.6.1.2.1.1.6
# TYPE sysLocation gauge
sysLocation{sysLocation=""} 1
# HELP sysName An administratively-assigned name for this managed node - 1.3.6.1.2.1.1.5
# TYPE sysName gauge
sysName{sysName="w1-1.cc4"} 1
# HELP sysObjectID The vendor's authoritative identification of the network management subsystem contained in the entity - 1.3.6.1.2.1.1.2
# TYPE sysObjectID gauge
sysObjectID{sysObjectID="1.3.6.1.4.1.6027.1.4.1"} 1
# HELP sysServices A value which indicates the set of services that this entity may potentially offer - 1.3.6.1.2.1.1.7
# TYPE sysServices gauge
sysServices 6
# HELP sysUpTime The time (in hundredths of a second) since the network management portion of the system was last re-initialized. - 1.3.6.1.2.1.1.3
# TYPE sysUpTime gauge
sysUpTime 1.67051901e+09

Signed-off-by: Vitaly Zhuravlev <[email protected]>
@bastischubert
Copy link
Member

labels like dellNetProcessorDeviceType="2" and dellNetPowerDeviceType="2" should be resolveable
how about pulling in

  • dellNetProcessorDeviceType
  • dellNetPowerDeviceType
    as well so we can use the proper Enum Values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants