Skip to main content

SMI-S Compliant Storage Libraries

Description

This connector discovers the enclosure of a storage library as well as its specialized devices: tape drives, cartridges, media changers, etc. It also discovers and monitors the FC ports of the array and various environment sensors when available (temperatures, fans, power supplies, etc.). It relies on the WBEM technology and supports SMI-S compliant tape libraries 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 library vendor

Technology and protocols: WBEM

Examples

CLI

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

metricshub.yaml

resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: storage
connectors: [ +SMISLibrary ] # 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 Storage Libraries 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 Name,Dedicated FROM CIM_ComputerSystem
    • Result contains: [;|]\(22\|35\)|[0-9|]*;$ (regex)
  • The WBEM query below succeeds:
    • Namespace: Automatic
    • Query: SELECT DeviceID FROM CIM_TapeDrive

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
roboticshw.status{hw.type="robotics", state="degraded|failed|ok"}
hw.status{hw.type="robotics", state="present"}
hw.parent.id
hw.parent.type
id
model
name
robotics_type
serial_number
vendor
tape_drivehw.status{hw.type="tape_drive", state="degraded|failed|ok"}
hw.status{hw.type="tape_drive", state="needs_cleaning"}
hw.status{hw.type="tape_drive", state="present"}
hw.tape_drive.operations{type="mount"}
hw.parent.id
hw.parent.type
id
model
name
serial_number
vendor
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