Back to the list of connectors

Huawei Storage System (OceanStor)

Description

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

Connector ID: HuaweiStorage

This connector is superseded by:

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

hws HOSTNAME -t storage -f HuaweiStorage --snmp v2c --community public

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: storage
  selectedConnectors: [ HuaweiStorage ] # Optional, to load only this connector
  snmp:
    version: v1 # Read documentation for v2 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 (Labels)
Enclosure
  • hw.status{hw.type="enclosure",state="ok|degraded|failed"}
  • hw.status{hw.type="enclosure",state="present"}
  • info
  • model
  • serial_number
  • vendor
Battery
  • hw.status{hw.type="battery",state="ok|degraded|failed"}
  • hw.status{hw.type="battery",state="present"}
    Fan
    • hw.status{hw.type="fan",state="ok|degraded|failed"}
    • hw.status{hw.type="fan",state="present"}
      Logical Disk, RAID
      • hw.logical_disk.limit
      • hw.logicaldisk.utilization{state="free|used"}
      • hw.status{hw.type="logical_disk",state="ok|degraded|failed"}
      • hw.status{hw.type="logical_disk",state="present"}
      • info
      Network Card, FC Port
      • hw.network.up
      • hw.status{hw.type="network",state="ok|degraded|failed"}
      • hw.status{hw.type="network",state="present"}
      • physical_address
      Other Device
      • hw.status{hw.type="other_device",state="ok|degraded|failed"}
      • hw.status{hw.type="other_device",state="present"}
      • info
      • device_type
      Physical Disk
      • hw.physical_disk.size
      • hw.status{hw.type="physical_disk",state="ok|degraded|failed"}
      • hw.status{hw.type="physical_disk",state="present"}
      • info
      • firmware_version
      • model
      • serial_number
      • vendor
      Power Supply
      • hw.status{hw.type="power_supply",state="ok|degraded|failed"}
      • hw.status{hw.type="power_supply",state="present"}
      • info
      No results.