# Provide metrics that can be found in Dell devices that are or contain DRAC components

# 1. DELL-RAC-MIB
#    https://mibbrowser.online/mibdb_search.php?mib=DELL-RAC-MIB
#    https://github.com/librenms/librenms/blob/master/mibs/dell/DELL-RAC-MIB
# 2. IDRAC-MIB-SMIv2
#    https://mibbrowser.online/mibdb_search.php?mib=IDRAC-MIB-SMIv2
#    https://github.com/librenms/librenms/blob/master/mibs/dell/IDRAC-MIB-SMIv2

metrics:
  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.200.10
      name: systemStateTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.4
        name: systemStateChassisStatus
        chart_meta:
          family: 'Hardware/Chassis/Status'
          description: Chassis status of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.6
        name: systemStatePowerUnitStatusRedundancy
        chart_meta:
          family: 'Hardware/Power/Unit/Redundancy/Status'
          description: Power unit status redundancy of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: full
          4: degraded
          5: lost
          6: not_redundant
          7: redundancy_offline
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.9
        name: systemStatePowerSupplyStatusCombined
        chart_meta:
          family: 'Hardware/Power/Supply/Status/Combined'
          description: Combined power supply status of the system state
          unit: "{state}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.15
        name: systemStateAmperageStatusCombined
        chart_meta:
          family: 'Hardware/Sensor/Amperage/Status/Combined'
          description: Combined amperage status of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.18
        name: systemStateCoolingUnitStatusRedundancy
        chart_meta:
          family: 'Hardware/Cooling/Unit/Redundancy/Status'
          description: Cooling unit status redundancy of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: full
          4: degraded
          5: lost
          6: not_redundant
          7: redundancy_offline
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.21
        name: systemStateCoolingDeviceStatusCombined
        chart_meta:
          family: 'Hardware/Cooling/Device/Status/Combined'
          description: Combined cooling device status of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.24
        name: systemStateTemperatureStatusCombined
        chart_meta:
          family: 'Hardware/Sensor/Temperature/Status/Combined'
          description: Combined temperature status of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.27
        name: systemStateMemoryDeviceStatusCombined
        chart_meta:
          family: 'Hardware/Memory/Device/Status/Combined'
          description: Combined memory device status of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.30
        name: systemStateChassisIntrusionStatusCombined
        chart_meta:
          family: 'Hardware/Chassis/Intrusion/Status/Combined'
          description: Combined chassis intrusion status of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.42
        name: systemStatePowerUnitStatusCombined
        chart_meta:
          family: 'Hardware/Power/Unit/Status/Combined'
          description: Combined power unit status of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.44
        name: systemStateCoolingUnitStatusCombined
        chart_meta:
          family: 'Hardware/Cooling/Unit/Status/Combined'
          description: Combined cooling unit status of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.50
        name: systemStateProcessorDeviceStatusCombined
        chart_meta:
          family: 'Hardware/Processor/Device/Status/Combined'
          description: Combined processor device status of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.63
        name: systemStateTemperatureStatisticsStatusCombined
        chart_meta:
          family: 'Hardware/Sensor/Temperature/Statistics/Status/Combined'
          description: Combined temperature statistics status of the system state
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.200.10.1.1
          name: systemStatechassisIndex

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.4
      name: physicalDiskTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.4.1.4
        name: physicalDiskState
        chart_meta:
          family: 'Hardware/Disk/Physical/State'
          description: State of the physical disk
          unit: "{status}"
        mapping:
          1: unknown
          2: ready
          3: online
          4: foreign
          5: offline
          6: blocked
          7: failed
          8: nonraid
          9: removed
          10: readonly
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.4.1.11
        name: physicalDiskCapacityInMB
        scale_factor: 1048576
        chart_meta:
          family: 'Hardware/Disk/Physical/Capacity'
          description: Capacity of the physical disk in megabytes
          unit: "By"
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.4.1.17
        name: physicalDiskUsedSpaceInMB
        scale_factor: 1048576
        chart_meta:
          family: 'Hardware/Disk/Physical/Used'
          description: Used space of the physical disk in megabytes
          unit: "By"
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.4.1.19
        name: physicalDiskFreeSpaceInMB
        scale_factor: 1048576
        chart_meta:
          family: 'Hardware/Disk/Physical/Free'
          description: Free space of the physical disk in megabytes
          unit: "By"
    metric_tags:
      - tag: disk_number
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.4.1.1
          name: physicalDiskNumber
      - tag: disk_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.4.1.2
          name: physicalDiskName

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.9
      name: enclosurePowerSupplyTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.9.1.4
        name: enclosurePowerSupplyState
        chart_meta:
          family: 'Hardware/Enclosure/PowerSupply/State'
          description: State of the enclosure power supply
          unit: "{status}"
        mapping:
          1: unknown
          2: ready
          3: failed
          4: missing
          5: degraded
    metric_tags:
      - tag: supply_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.9.1.2
          name: enclosurePowerSupplyName
      - tag: enclosure_power_supply_number
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.9.1.1
          name: enclosurePowerSupplyNumber
      - tag: enclosure_power_supply_fqdd
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.9.1.15
          name: enclosurePowerSupplyFQDD

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.15
      name: batteryTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.15.1.4
        name: batteryState
        chart_meta:
          family: 'Hardware/Battery/State'
          description: State of the battery
          unit: "{status}"
        mapping:
          1: unknown
          2: ready
          3: failed
          4: degraded
          5: missing
          6: charging
          7: below_threshold
    metric_tags:
      - tag: battery_fqdd
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.15.1.20
          name: batteryFQDD
      - tag: battery_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.15.1.21
          name: batteryDisplayName

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.1
      name: controllerTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.1.1.37
        name: controllerRollUpStatus
        chart_meta:
          family: 'Hardware/Controller/Status/RollUp'
          description: Roll up status of the controller
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
    metric_tags:
      - tag: controller_number
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.1.1.1
          name: controllerNumber
      - tag: controller_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.1.1.2
          name: controllerName
      - tag: controller_pci_slot
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.1.1.42
          name: controllerPCISlot
      - tag: controller_fqdd
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.130.1.1.78
          name: controllerFQDD

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.1100.80
      name: pCIDeviceTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.1100.80.1.5
        name: pCIDeviceStatus
        chart_meta:
          family: 'Hardware/PCIDevice/Status'
          description: Status of the PCI device
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
    metric_tags:
      - tag: device_descr_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.80.1.9
          name: pCIDeviceDescriptionName
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.80.1.1
          name: pCIDevicechassisIndex

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.1200.10
      name: systemSlotTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.1200.10.1.5
        name: systemSlotStatus
        chart_meta:
          family: 'Hardware/Slot/Status'
          description: Status of the system slot
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
    metric_tags:
      - tag: slot_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1200.10.1.8
          name: systemSlotSlotExternalSlotName
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1200.10.1.1
          name: systemSlotchassisIndex

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.1100.90
      name: networkDeviceTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.1100.90.1.3
        name: networkDeviceStatus
        chart_meta:
          family: 'Network/Device/Status'
          description: Status of the network device
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.90.1.1
          name: networkDeviceChassisIndex
      - tag: mac_addr
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.90.1.16
          name: networkDevicePermanentMACAddress
      - tag: device_fqdd
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.90.1.30
          name: networkDeviceFQDD

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.300.50
      name: systemBIOSTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.300.50.1.5
        name: systemBIOSStatus
        chart_meta:
          family: 'System/BIOS/Status'
          description: Status of the system BIOS
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.300.50.1.1
          name: systemBIOSchassisIndex
      - tag: system_bios_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.300.50.1.2
          name: systemBIOSIndex

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.300.70
      name: intrusionTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.300.70.1.5
        name: intrusionStatus
        chart_meta:
          family: 'Hardware/Intrusion/Status'
          description: Status of the intrusion
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.300.70.1.6
        name: intrusionReading
        chart_meta:
          family: 'Hardware/Intrusion/Reading'
          description: Reading of the intrusion
          unit: "{reading}"
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.300.70.1.1
          name: intrusionchassisIndex
      - tag: intrusion_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.300.70.1.2
          name: intrusionIndex
      - tag: intrusion_location_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.300.70.1.8
          name: intrusionLocationName

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.600.12
      name: powerSupplyTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.600.12.1.6
        name: powerSupplyOutputWatts
        chart_meta:
          family: 'Hardware/PowerSupply/Output/Power'
          description: Output power of the power supply in watts
          unit: "W"
      - OID: 1.3.6.1.4.1.674.10892.5.4.600.12.1.9
        name: powerSupplyMaximumInputVoltage
        chart_meta:
          family: 'Hardware/PowerSupply/Input/Voltage/Maximum'
          description: Maximum input voltage of the power supply
          unit: "V"
      - OID: 1.3.6.1.4.1.674.10892.5.4.600.12.1.16
        name: powerSupplyCurrentInputVoltage
        chart_meta:
          family: 'Hardware/PowerSupply/Input/Voltage/Current'
          description: Current input voltage of the power supply
          unit: "V"
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.12.1.1
          name: powerSupplychassisIndex
      - tag: power_supply_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.12.1.2
          name: powerSupplyIndex
      - tag: power_supply_fqdd
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.12.1.15
          name: powerSupplyFQDD

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.600.30
      name: amperageProbeTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.600.30.1.5
        name: amperageProbeStatus
        chart_meta:
          family: 'Hardware/Sensor/Amperage/Status'
          description: Status of the amperage probe
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical_upper
          5: critical_upper
          6: non_recoverable_upper
          7: non_critical_lower
          8: critical_lower
          9: non_recoverable_lower
          10: failed
      - OID: 1.3.6.1.4.1.674.10892.5.4.600.30.1.6
        name: amperageProbeReading
        chart_meta:
          family: 'Hardware/Sensor/Amperage/Value'
          description: Reading of the amperage probe in amperes
          unit: "A"
    metric_tags:
      - tag: probe_type
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.30.1.7
          name: amperageProbeType
        mapping:
          1: other
          2: unknown
          3: 1point5_volt    # 1.5 volt
          4: 3point3_volt    # 3.3 volt
          5: 5_volt          # 5 volt
          6: minus5_volt     # -5 volt
          7: 12_volt         # 12 volt
          8: minus12_volt    # -12 volt
          9: io
          10: core
          11: flea
          12: battery
          13: terminator
          14: 2point5_volt   # 2.5 volt
          15: gtl
          16: discrete
          23: power_supply_amps
          24: power_supply_watts
          25: system_amps
          26: system_watts
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.30.1.1
          name: amperageProbechassisIndex
      - tag: amperage_probe_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.30.1.2
          name: amperageProbeIndex

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.600.60
      name: powerUsageTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.600.60.1.5
        name: powerUsageStatus
        chart_meta:
          family: 'System/Power/Usage/Status'
          description: Status of the power usage
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.60.1.1
          name: powerUsageChassisIndex
      - tag: power_usage_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.60.1.2
          name: powerUsageIndex
      - tag: power_usage_entity_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.60.1.6
          name: powerUsageEntityName

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.600.20
      name: voltageProbeTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.600.20.1.5
        name: voltageProbeStatus
        chart_meta:
          family: 'Hardware/Sensor/Voltage/Status'
          description: Status of the voltage probe
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical_upper
          5: critical_upper
          6: non_recoverable_upper
          7: non_critical_lower
          8: critical_lower
          9: non_recoverable_lower
          10: failed
      - OID: 1.3.6.1.4.1.674.10892.5.4.600.20.1.6
        name: voltageProbeReading
        chart_meta:
          family: 'Hardware/Sensor/Voltage/Value'
          description: Reading of the voltage probe in volts
          unit: "V"
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.20.1.1
          name: voltageProbechassisIndex
      - tag: voltage_probe_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.20.1.2
          name: voltageProbeIndex
      - tag: probe_type
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.20.1.7
          name: voltageProbeType
        mapping:
          1: other
          2: unknown
          3: 1point5_volt   # 1.5 volt
          4: 3point3_volt   # 3.3 volt
          5: 5_volt         # 5 volt
          6: minus5_volt    # -5 volt
          7: 12_volt        # 12 volt
          8: minus12_volt   # -12 volt
          9: io
          10: core
          11: flea
          12: battery
          13: terminator
          14: 2point5_volt  # 2.5 volt
          15: gtl
          16: discrete
          17: generic_discrete
          18: ps_voltage
          19: memory_status

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.600.50
      name: systemBatteryTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.600.50.1.5
        name: systemBatteryStatus
        chart_meta:
          family: 'Hardware/Battery/System/Status'
          description: Status of the system battery
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.600.50.1.6
        name: systemBatteryReading
        chart_meta:
          family: 'Hardware/Battery/System/Reading'
          description: Reading of the system battery
          unit: "{reading}"
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.50.1.1
          name: systemBatteryChassisIndex
      - tag: system_battery_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.50.1.2
          name: systemBatteryIndex
      - tag: system_battery_location_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.600.50.1.7
          name: systemBatteryLocationName

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.700.10
      name: coolingUnitTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.700.10.1.5
        name: coolingUnitRedundancyStatus
        chart_meta:
          family: 'Hardware/Cooling/Unit/Redundancy/Status'
          description: Redundancy status of the cooling unit
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: full
          4: degraded
          5: lost
          6: not_redundant
          7: redundancy_offline
      - OID: 1.3.6.1.4.1.674.10892.5.4.700.10.1.8
        name: coolingUnitStatus
        chart_meta:
          family: 'Hardware/Cooling/Unit/Status'
          description: Status of the cooling unit
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: full
          4: degraded
          5: lost
          6: not_redundant
          7: redundancy_offline
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.10.1.1
          name: coolingUnitchassisIndex
      - tag: cooling_unit_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.10.1.2
          name: coolingUnitIndex
      - tag: cooling_unit_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.10.1.7
          name: coolingUnitName

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.700.12
      name: coolingDeviceTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.700.12.1.5
        name: coolingDeviceStatus
        chart_meta:
          family: 'Hardware/Cooling/Device/Status'
          description: Status of the cooling device
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical_upper
          5: critical_upper
          6: non_recoverable_upper
          7: non_critical_lower
          8: critical_lower
          9: non_recoverable_lower
          10: failed
      - OID: 1.3.6.1.4.1.674.10892.5.4.700.12.1.6
        name: coolingDeviceReading
        chart_meta:
          family: 'Hardware/Cooling/Device/Speed'
          description: Reading of the cooling device
          unit: "{revolution}/min"
      - OID: 1.3.6.1.4.1.674.10892.5.4.700.12.1.18
        name: coolingDeviceDiscreteReading
        chart_meta:
          family: 'Hardware/Cooling/Device/DiscreteReading'
          description: Discrete reading of the cooling device
          unit: "{reading}"
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.12.1.1
          name: coolingDevicechassisIndex
      - tag: cooling_device_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.12.1.2
          name: coolingDeviceIndex
      - tag: cooling_device_type
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.12.1.7
          name: coolingDeviceType
        mapping:
          1: other
          2: unknown
          3: a_fan
          4: a_blower
          5: a_chip_fan
          6: a_cabinet_fan
          7: a_power_supply_fan
          8: a_heat_pipe
          9: refrigeration
          10: active_cooling
          11: passive_cooling
      - tag: cooling_device_location_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.12.1.8
          name: coolingDeviceLocationName
      - tag: cooling_device_fqdd
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.12.1.19
          name: coolingDeviceFQDD

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.700.20
      name: temperatureProbeTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.700.20.1.5
        name: temperatureProbeStatus
        chart_meta:
          family: 'Hardware/Sensor/Temperature/Status'
          description: Status of the temperature probe
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical_upper
          5: critical_upper
          6: non_recoverable_upper
          7: non_critical_lower
          8: critical_lower
          9: non_recoverable_lower
          10: failed
      - OID: 1.3.6.1.4.1.674.10892.5.4.700.20.1.6
        name: temperatureProbeReading
        chart_meta:
          family: 'Hardware/Sensor/Temperature/Value'
          description: Reading of the temperature probe in degrees Celsius
          unit: "Cel"
      - OID: 1.3.6.1.4.1.674.10892.5.4.700.20.1.16
        name: temperatureProbeDiscreteReading
        chart_meta:
          family: 'Hardware/Sensor/Temperature/DiscreteReading'
          description: Discrete reading of the temperature probe
          unit: "{reading}"
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.20.1.1
          name: temperatureProbechassisIndex
      - tag: temperature_probe_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.20.1.2
          name: temperatureProbeIndex
      - tag: temperature_probe_type
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.20.1.7
          name: temperatureProbeType
        mapping:
          1: other
          2: unknown
          3: ambient_esm
          16: discrete
      - tag: temperature_probe_location_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.700.20.1.8
          name: temperatureProbeLocationName

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.1100.30
      name: processorDeviceTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.1100.30.1.5
        name: processorDeviceStatus
        chart_meta:
          family: 'Hardware/Processor/Status'
          description: Status of the processor device
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.1100.30.1.11
        name: processorDeviceMaximumSpeed
        chart_meta:
          family: 'Hardware/Processor/Speed/Maximum'
          description: Maximum speed of the processor device in megahertz
          unit: "MHz"
      - OID: 1.3.6.1.4.1.674.10892.5.4.1100.30.1.12
        name: processorDeviceCurrentSpeed
        chart_meta:
          family: 'Hardware/Processor/Speed/Current'
          description: Current speed of the processor device in megahertz
          unit: "MHz"
      - OID: 1.3.6.1.4.1.674.10892.5.4.1100.30.1.14
        name: processorDeviceVoltage
        chart_meta:
          family: 'Hardware/Processor/Voltage'
          description: Voltage of the processor device in volts
          unit: "V"
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.30.1.1
          name: processorDevicechassisIndex
      - tag: processor_device_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.30.1.2
          name: processorDeviceIndex
      - tag: processor_device_brand_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.30.1.23
          name: processorDeviceBrandName
      - tag: processor_device_fqdd
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.30.1.26
          name: processorDeviceFQDD

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.1100.32
      name: processorDeviceStatusTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.1100.32.1.5
        name: processorDeviceStatusStatus
        chart_meta:
          family: 'Hardware/Processor/Device/Status/Status'
          description: Status of the processor device status
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.4.1100.32.1.6
        name: processorDeviceStatusReading
        chart_meta:
          family: 'Hardware/Processor/Device/Status/Reading'
          description: Reading of the processor device status
          unit: "{reading}"
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.32.1.1
          name: processorDeviceStatusChassisIndex
      - tag: processor_device_status_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.32.1.2
          name: processorDeviceStatusIndex
      - tag: processor_device_status_location_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.32.1.7
          name: processorDeviceStatusLocationName

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.1100.50
      name: memoryDeviceTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.1100.50.1.5
        name: memoryDeviceStatus
        chart_meta:
          family: 'Hardware/Memory/Status'
          description: Status of the memory device
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
    metric_tags:
      - tag: device_type
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.50.1.7
          name: memoryDeviceType
      - tag: device_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.50.1.2
          name: memoryDeviceIndex
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.50.1.1
          name: memoryDevicechassisIndex
      - tag: device_type
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.1100.50.1.7
          name: memoryDeviceType
        mapping:
          1: other
          2: unknown
          3: dram
          4: edram
          5: vram
          6: sram
          7: ram
          8: rom
          9: flash
          10: eeprom
          11: feprom
          12: eprom
          13: cdram
          14: 3dram
          15: sdram
          16: sgram
          17: rdram
          18: ddr
          19: ddr2
          20: ddr2_fbdimm
          24: ddr3
          25: fbd2
          26: ddr4

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.4.2000.10
      name: fruTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.4.2000.10.1.3
        name: fruInformationStatus
        chart_meta:
          family: 'Hardware/FRU/Status'
          description: Status of the FRU information
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.2000.10.1.1
          name: fruChassisIndex
      - tag: fru_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.2000.10.1.2
          name: fruIndex
      - tag: fru_fqdd
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.4.2000.10.1.12
          name: fruFQDD

  - MIB: IDRAC-MIB-SMIv2
    table:
      OID: 1.3.6.1.4.1.674.10892.5.5.1.20.140.1
      name: virtualDiskTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.140.1.1.4
        name: virtualDiskState
        chart_meta:
          family: 'System/Disk/Virtual/State'
          description: State of the virtual disk
          unit: "{status}"
        mapping:
          1: unknown
          2: online
          3: failed
          4: degraded
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.140.1.1.6
        name: virtualDiskSizeInMB
        scale_factor: 1048576
        chart_meta:
          family: 'System/Disk/Virtual/Size'
          description: Size of the virtual disk in megabytes
          unit: "By"
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.140.1.1.20
        name: virtualDiskComponentStatus
        chart_meta:
          family: 'System/Disk/Virtual/ComponentStatus'
          description: Component status of the virtual disk
          unit: "{status}"
        mapping:
          1: other
          2: unknown
          3: ok
          4: non_critical
          5: critical
          6: non_recoverable
      - OID: 1.3.6.1.4.1.674.10892.5.5.1.20.140.1.1.37
        name: virtualDiskT10PIStatus
        chart_meta:
          family: 'System/Disk/Virtual/T10PIStatus'
          description: T10 PI status of the virtual disk
          unit: "{status}"
        mapping:
          1: other
          2: enabled
          3: disabled
    metric_tags:
      - tag: virtual_disk_number
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.140.1.1.1
          name: virtualDiskNumber
      - tag: virtual_disk_name
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.140.1.1.2
          name: virtualDiskName
      - tag: virtual_disk_fqdd
        symbol:
          OID: 1.3.6.1.4.1.674.10892.5.5.1.20.140.1.1.35
          name: virtualDiskFQDD

  - MIB: DELL-RAC-MIB
    symbol:
      OID: 1.3.6.1.4.1.674.10892.2.3.1.9.0
      name: drsCMCCurrStatus
      chart_meta:
        family: 'Hardware/CMC/Status'
        description: CMC health status being monitored by the chassis management card
        unit: "{status}"
      mapping:
        1: other
        2: unknown
        3: ok
        4: non_critical
        5: critical
        6: non_recoverable

  - MIB: DELL-RAC-MIB
    symbol:
      OID: 1.3.6.1.4.1.674.10892.2.3.1.1.0
      name: drsGlobalCurrStatus
      chart_meta:
        family: 'System/Global/Status'
        description: Overall chassis status being monitored by the chassis management card
        unit: "{status}"
      mapping:
        1: other
        2: unknown
        3: ok
        4: non_critical
        5: critical
        6: non_recoverable

  - MIB: DELL-RAC-MIB
    symbol:
      OID: 1.3.6.1.4.1.674.10892.2.3.1.5.0
      name: drsPowerCurrStatus
      chart_meta:
        family: 'Hardware/Power/Status'
        description: Power subsystem health status being monitored by the chassis management card
        unit: "{status}"
      mapping:
        1: other
        2: unknown
        3: ok
        4: non_critical
        5: critical
        6: non_recoverable

  - MIB: DELL-RAC-MIB
    symbol:
      OID: 1.3.6.1.4.1.674.10892.2.3.1.4.0
      name: drsRedCurrStatus
      chart_meta:
        family: 'System/Redundancy/Status'
        description: Redundancy status being monitored by the chassis management card
        unit: "{status}"
      mapping:
        1: other
        2: unknown
        3: ok
        4: non_critical
        5: critical
        6: non_recoverable

  - MIB: DELL-RAC-MIB
    symbol:
      OID: 1.3.6.1.4.1.674.10892.2.2.1.0
      name: drsGlobalSystemStatus
      chart_meta:
        family: 'System/Global/SystemStatus'
        description: Overall chassis status being monitored by the chassis management card
        unit: "{status}"
      mapping:
        1: other
        2: unknown
        3: ok
        4: non_critical
        5: critical
        6: non_recoverable

  - MIB: DELL-RAC-MIB
    table:
      OID: 1.3.6.1.4.1.674.10892.2.4.1
      name: drsCMCPowerTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.2.4.1.1.13
        name: drsWattsReading
        chart_meta:
          family: 'Hardware/Power/Usage'
          description: Instantaneous chassis power usage in watts
          unit: "W"
      - OID: 1.3.6.1.4.1.674.10892.2.4.1.1.14
        name: drsAmpsReading
        chart_meta:
          family: 'Hardware/Power/Current'
          description: Instantaneous chassis current usage in amperes
          unit: "A"
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.2.4.1.1.1
          name: drsChassisIndex
      - tag: drs_psu_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.2.4.2.1.2
          name: drsPSUIndex

  - MIB: DELL-RAC-MIB
    metric_type: monotonic_count
    table:
      OID: 1.3.6.1.4.1.674.10892.2.4.1
      name: drsCMCPowerTable
    symbols:
      - OID: 1.3.6.1.4.1.674.10892.2.4.1.1.6
        name: drsKWhCumulative
        chart_meta:
          family: 'Hardware/Power/Energy/Cumulative'
          description: Cumulative chassis power usage in kilowatt hours since last reset
          unit: "kWh"
    metric_tags:
      - tag: chassis_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.2.4.1.1.1
          name: drsChassisIndex
      - tag: drs_psu_index
        symbol:
          OID: 1.3.6.1.4.1.674.10892.2.4.2.1.2
          name: drsPSUIndex
