Skip to main content

SMI-S Compliant SAN Switches

Description

This connector discovers the enclosure and fiber-channel ports of SAN switches as well as various environment sensors (temperatures, fans, power supplies, etc.). It relies on the WBEM technology and supports SMI-S compliant switches only.

hardware storage

Enterprise Connector

This connector requires the Enterprise edition of MetricsHub.

Superseded Connector

This connector is superseded by:

Target

Typical platform: SMI-S

Operating system: Storage System

Prerequisites

Leverages: SMI-S Agent provided by the switch vendor

Technology and protocols: WBEM

Examples

CLI

metricshub HOSTNAME -t storage -c +SMISSwitch --wbem -u USER

metricshub.yaml

resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: storage
connectors: [ +SMISSwitch ] # Optional, to load only this connector
protocols:
wbem:
protocol: https
port: 5989
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt

Connector Activation Criteria

The SMI-S Compliant SAN Switches connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • The WBEM query below succeeds:
    • Namespace: Automatic
    • Query: SELECT Dedicated FROM CIM_ComputerSystem
    • Result contains: ^5|;*$ (regex)
  • The WBEM query below succeeds:
    • Namespace: Automatic
    • Query: SELECT PortType FROM CIM_FCPort
    • Result contains: ^\(14\)\|\(15\)\|\(16\)\|\(17\)\|\(18\);$ (regex)

Metrics

TypeCollected MetricsSpecific Attributes
enclosurehw.status{hw.type="enclosure", state="degraded|failed|ok"}
hw.status{hw.type="enclosure", state="present"}
id
model
name
serial_number
type
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
networkhw.network.up
hw.status{hw.type="network", state="degraded|failed|ok"}
hw.status{hw.type="network", state="present"}
bandwidth
device_type
hw.parent.id
hw.parent.type
id
info
model
name
physical_address
physical_address_type
serial_number
vendor
other_devicehw.status{hw.type="other_device", state="degraded|failed|ok"}
hw.status{hw.type="other_device", state="present"}
additional_label
device_type
hw.parent.id
hw.parent.type
id
info
name
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
name
temperaturehw.status{hw.type="temperature", state="degraded|failed|ok"}
hw.status{hw.type="temperature", state="present"}
hw.temperature
hw.temperature.limit{limit_type="high.critical"}
hw.temperature.limit{limit_type="high.degraded"}
hw.parent.id
hw.parent.type
id
name