Back to the list of connectors[1]

SMI-S Compliant SAN Switches Enterprise

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.

This connector is superseded by:

hardware[4] storage[5]

Target

Typical platform: Any SMI-S compliant SAN switch

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 to the managed host succeeds:
    • Namespace: Automatic
    • WQL Query: SELECT Dedicated FROM CIM_ComputerSystem
    • Result contains: ^5|;*$ (regex)
  • The WBEM query below to the managed host succeeds:
    • Namespace: Automatic
    • WQL Query: SELECT PortType FROM CIM_FCPort
    • Result contains: ^\(14\)\|\(15\)\|\(16\)\|\(17\)\|\(18\);$ (regex)

Metrics

Type Collected Metrics Specific Attributes
enclosure
  • hw.status{hw.type="enclosure", state="degraded|failed|ok"}
  • hw.status{hw.type="enclosure", state="present"}
  • id
  • model
  • name
  • serial_number
  • type
  • 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
network
  • hw.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_device
  • hw.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_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
  • name
temperature
  • hw.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
No results.