Back to the list of connectors

SMI-S Compliant SAN Switches


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

Connector ID: SMISSwitch

This connector is superseded by:


Typical platform: Any SMI-S compliant SAN switch

Operating system: Storage System


Leverages: SMI-S Agent provided by the switch vendor

Technology and protocols: WBEM



hws HOSTNAME -t storage -f SMISSwitch --wbem -u USER


- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: storage
  selectedConnectors: [ SMISSwitch ] # Optional, to load only this connector
    protocol: https
    port: 5989
    username: <USERNAME> # Change with actual credentials
    password: <PASSWORD> # Encrypted using hws-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)


Type Collected Metrics Specific Attributes (Labels)
  • hw.status{hw.type="enclosure",state="ok|degraded|failed"}
  • hw.status{hw.type="enclosure",state="present"}
  • model
  • serial_number
  • type
  • vendor
  • hw.status{hw.type="fan",state="ok|degraded|failed"}
  • hw.status{hw.type="fan",state="present"}
    Network Card, FC Port
    • hw.status{hw.type="network",state="ok|degraded|failed"}
    • hw.status{hw.type="network",state="present"}
    • info
    • model
    • physical_address
    • serial_number
    • vendor
    Other Device
    • hw.status{hw.type="other_device",state="ok|degraded|failed"}
    • hw.status{hw.type="other_device",state="present"}
    • info
    • device_type
    Power Supply
    • hw.status{hw.type="power_supply",state="ok|degraded|failed"}
    • hw.status{hw.type="power_supply",state="present"}
      Temperature Sensor
      • hw.status{hw.type="temperature",state="ok|degraded|failed"}
      • hw.status{hw.type="temperature",state="present"}
      • hw.temperature
      • hw.temperature.limit{limit_type="high.critical"}
      • hw.temperature.limit{limit_type="high.degraded"}
        No results.