Skip to main content

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.

hardware huawei storage

Enterprise Connector

This connector requires the Enterprise edition of MetricsHub.

Superseded Connector

This connector is superseded by:

Target

Typical platform: Huawei OceanStor

Operating system: Storage System

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

Prerequisites

Leverages: Huawei Storage System SNMP Agent

Technology and protocols: SNMP

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 GetNext on the OID 1.3.6.1.4.1.34774.4.1.23.5.6.1 must return a non-empty value

Metrics

TypeCollected MetricsSpecific Attributes
batteryhw.status{hw.type="battery", state="degraded|failed|ok"}
hw.status{hw.type="battery", state="present"}
hw.parent.id
hw.parent.type
id
name
enclosurehw.status{hw.type="enclosure", state="degraded|failed|ok"}
hw.status{hw.type="enclosure", state="present"}
id
info
model
name
serial_number
vendor
fanhw.status{hw.type="fan", state="degraded|failed|ok"}
hw.status{hw.type="fan", state="present"}
hw.parent.id
hw.parent.type
id
name
logical_diskhw.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.parent.id
hw.parent.type
id
info
name
networkhw.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_devicehw.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_diskhw.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_supplyhw.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