Back to the list of connectors

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 will also discover and monitor the FC ports of the array and the various environment sensors when available (temperatures, fans, power supplies, etc.). It relies on the WBEM technology and supports SMI-S compliant tape libraries only.

Connector ID: SMISLibrary

This connector is superseded by:

Target

Typical platform: Any SMI-S compliant storage library

Operating system: Storage System

Prerequisites

Leverages: SMI-S Agent provided by the library vendor

Technology and protocols: WBEM

Examples

CLI

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

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: storage
  selectedConnectors: [ SMISLibrary ] # Optional, to load only this connector
  wbem:
    protocol: https
    port: 5989
    username: <USERNAME> # Change with actual credentials
    password: <PASSWORD> # Encrypted using hws-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 to the managed host succeeds:
    • Namespace: Automatic
    • WQL Query: SELECT Name,Dedicated FROM CIM_ComputerSystem
    • Result contains: [;|]\(22\|35\)|[0-9|]*;$ (regex)
  • The WBEM query below to the managed host succeeds:
    • Namespace: Automatic
    • WQL Query: SELECT DeviceID FROM CIM_TapeDrive

Metrics

Type Collected Metrics Specific Attributes (Labels)
Enclosure
  • hw.status{hw.type="enclosure",state="ok|degraded|failed"}
  • hw.status{hw.type="enclosure",state="present"}
  • model
  • serial_number
  • type
  • vendor
Fan
  • hw.status{hw.type="fan",state="ok|degraded|failed"}
  • hw.status{hw.type="fan",state="present"}
    Network Card, FC Port
    • hw.network.up
    • 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"}
      Robotics
      • hw.status{hw.type="robotics",state="ok|degraded|failed"}
      • hw.status{hw.type="robotics",state="present"}
      • model
      • robotic_type
      • serial_number
      • vendor
      Tape Drive
      • hw.status{hw.type="tape_drive",state="needs_cleaning"}
      • hw.status{hw.type="tape_drive",state="ok|degraded|failed"}
      • hw.status{hw.type="tape_drive",state="present"}
      • hw.tape_drive.operations{type="mount"}
      • model
      • serial_number
      • vendor
      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.