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.
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)
- Namespace:
- The WBEM query below succeeds:
- Namespace:
Automatic - Query:
SELECT PortType FROM CIM_FCPort - Result contains:
^\(14\)\|\(15\)\|\(16\)\|\(17\)\|\(18\);$(regex)
- Namespace:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| enclosure | hw.status{hw.type="enclosure", state="degraded|failed|ok"}hw.status{hw.type="enclosure", state="present"} | idmodelnameserial_numbertypevendor |
| fan | hw.status{hw.type="fan", state="degraded|failed|ok"}hw.status{hw.type="fan", state="present"} | hw.parent.idhw.parent.typeidname |
| network | hw.network.uphw.status{hw.type="network", state="degraded|failed|ok"}hw.status{hw.type="network", state="present"} | bandwidthdevice_typehw.parent.idhw.parent.typeidinfomodelnamephysical_addressphysical_address_typeserial_numbervendor |
| other_device | hw.status{hw.type="other_device", state="degraded|failed|ok"}hw.status{hw.type="other_device", state="present"} | additional_labeldevice_typehw.parent.idhw.parent.typeidinfoname |
| power_supply | hw.status{hw.type="power_supply", state="degraded|failed|ok"}hw.status{hw.type="power_supply", state="present"} | hw.parent.idhw.parent.typeidname |
| temperature | hw.status{hw.type="temperature", state="degraded|failed|ok"}hw.status{hw.type="temperature", state="present"}hw.temperaturehw.temperature.limit{limit_type="high.critical"}hw.temperature.limit{limit_type="high.degraded"} | hw.parent.idhw.parent.typeidname |