Skip to main content

IBM DS (LSI) Disk Arrays (smcli)

Description

This connector enables hardware monitoring for IBM DS storage systems through the SMCli utility.

hardware ibm storage

Enterprise Connector

This connector requires the Enterprise edition of MetricsHub.

Superseded Connector

This connector is superseded by:

Target

Typical platform: IBM DS3000-5000

Operating system: Storage System

This connector is not available for the local host (it is applicable to remote hosts only).

Prerequisites

Leverages: The SMcli utility, which is part of IBM DS Storage Manager. The version must be compatible with the system being monitored. Multiple versions of SMcli on the same system is not supported.

Technology and protocols: Commands

This connector requires advanced privileges on the managed host for the command below:

  • Second_Address

This connector therefore needs to run as root or you need to configure a privilege-escalation mechanism like sudo on the managed host to allow the monitoring account to run the command listed above.

Sample of /etc/sudoers to allow the above command to be run as root by the metricshub account:

metricshub ALL=(root) NOPASSWD: Second_Address

Examples

CLI

metricshub HOSTNAME -t storage -c +smcli --ssh -u USER --sudo-command-list Second_Address

metricshub.yaml

resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: storage
connectors: [ +smcli ] # Optional, to load only this connector
protocols:
ssh:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
useSudo: true
useSudoCommands: [ "Second_Address" ]

Connector Activation Criteria

The IBM DS (LSI) Disk Arrays (smcli) connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • The device type must be one of: Storage
  • The command below succeeds on the agent host:
    • Command: SMcli
    • Output contains: Incorrect (regex)
  • The command below succeeds on the agent host:
    • Command: SMcli %{HOSTNAME} -c &quot;show StorageSubsystem;&quot;
    • Output contains: drive (regex)

Metrics

TypeCollected MetricsSpecific Attributes
batteryhw.status{hw.type="battery", state="degraded|failed|ok"}
hw.status{hw.type="battery", state="present"}
hw.parent.id
hw.parent.type
id
info
name
bladehw.status{hw.type="blade", state="degraded|failed|ok"}
hw.status{hw.type="blade", state="present"}
hw.parent.id
hw.parent.type
id
info
model
name
serial_number
enclosurehw.status{hw.type="enclosure", state="present"}id
info
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
info
name
logical_diskhw.logical_disk.limit
hw.status{hw.type="logical_disk", state="degraded|failed|ok"}
hw.parent.id
hw.parent.type
id
info
name
networkhw.network.bandwidth.limit
hw.network.up
hw.status{hw.type="network", state="present"}
hw.parent.id
hw.parent.type
id
info
name
physical_address
physical_address_type
other_devicehw.status{hw.type="other_device", state="degraded|failed|ok"}
hw.status{hw.type="other_device", state="present"}
device_type
hw.parent.id
hw.parent.type
id
info
name
physical_diskhw.physical_disk.size
hw.status{hw.type="physical_disk", state="degraded|failed|ok"}
hw.status{hw.type="physical_disk", state="present"}
hw.parent.id
hw.parent.type
id
info
model
name
serial_number
vendor
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
info
name
temperaturehw.status{hw.type="temperature", state="degraded|failed|ok"}
hw.status{hw.type="temperature", state="present"}
hw.parent.id
hw.parent.type
id
info
name