Back to the list of connectors[1]

Huawei Storage System (OceanStor)

Description

This connector discovers the enclosure(s) and the disks of Huawei storage systems as well as various environment sensors (temperatures, fans, power supplies). It relies on the SNMP protocol.

This connector is superseded by:

enterprise[3] hardware[4] huawei[5] storage[6]

Target

Typical platform: Huawei OceanStor

Operating system: Storage System

Prerequisites

Leverages: Huawei Storage System SNMP Agent

Technology and protocols: SNMP

This connector is not available for the local host (it is applicable to remote hosts only).

Examples

CLI

metricshub HOSTNAME -t storage -c +HuaweiStorage --snmp v2c --community public

metricshub.yaml

resourceGroups:
  <RESOURCE_GROUP>:
    resources:
      <HOSTNAME-ID>:
        attributes:
          host.name: <HOSTNAME> # Change with actual host name
          host.type: storage
        connectors: [ +HuaweiStorage ] # Optional, to load only this connector
        protocols:
          snmp:
            version: v2c # Read documentation for v1, v2c and v3
            community: public # or probably something more secure

Connector Activation Criteria

The Huawei Storage System (OceanStor) connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • An SNMP Get-Next on the OID 1.3.6.1.4.1.34774.4.1.23.5.6.1 must return a value in the same subtree

Metrics

Type Collected Metrics Specific Attributes
battery
  • hw.status{hw.type="battery", state="degraded|failed|ok"}
  • hw.status{hw.type="battery", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • name
enclosure
  • hw.status{hw.type="enclosure", state="degraded|failed|ok"}
  • hw.status{hw.type="enclosure", state="present"}
  • id
  • info
  • model
  • name
  • serial_number
  • vendor
fan
  • hw.status{hw.type="fan", state="degraded|failed|ok"}
  • hw.status{hw.type="fan", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • name
logical_disk
  • hw.logical_disk.limit
  • hw.logical_disk.usage{state="free"}
  • hw.logical_disk.usage{state="used"}
  • hw.status{hw.type="logical_disk", state="degraded|failed|ok"}
  • hw.status{hw.type="logical_disk", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • info
  • name
network
  • hw.network.up
  • hw.status{hw.type="network", state="degraded|failed|ok"}
  • hw.status{hw.type="network", state="present"}
  • device_type
  • hw.parent.id
  • hw.parent.type
  • id
  • name
  • physical_address
  • physical_address_type
other_device
  • hw.status{hw.type="other_device", state="degraded|failed|ok"}
  • hw.status{hw.type="other_device", state="present"}
  • device_type
  • hw.parent.id
  • hw.parent.type
  • id
  • info
  • name
physical_disk
  • hw.physical_disk.size
  • hw.status{hw.type="physical_disk", state="degraded|failed|ok"}
  • hw.status{hw.type="physical_disk", state="present"}
  • firmware_version
  • hw.parent.id
  • hw.parent.type
  • id
  • info
  • model
  • name
  • serial_number
  • vendor
power_supply
  • hw.status{hw.type="power_supply", state="degraded|failed|ok"}
  • hw.status{hw.type="power_supply", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • info
  • name
No results.