Back to the list of connectors

IBM DS (LSI) Disk Arrays (smcli)

Description

This connector provides hardware monitoring for IBM DS Storage Systems through the the SMCli utility.

Connector ID: smcli

This connector is superseded by:

Target

Typical platforms: IBM DS3000, IBM DS4000, IBM DS5000

Operating system: Storage System

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: System 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 hwsagent account:

hwsagent ALL=(root) NOPASSWD: Second_Address

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

Examples

CLI

hws HOSTNAME -t storage -f smcli --ssh -u USER --sudo-command-list Second_Address

hws-config.yaml

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

  • Operating System is Storage System
  • 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 "show StorageSubsystem;"
    • Output contains: drive (regex)

Metrics

Type Collected Metrics Specific Attributes (Labels)
Enclosure
  • hw.status{hw.type="enclosure",state="present"}
  • info
  • serial_number
  • type
  • vendor
Battery
  • hw.status{hw.type="battery",state="ok|degraded|failed"}
  • hw.status{hw.type="battery",state="present"}
  • info
Blade
  • hw.status{hw.type="blade",state="ok|degraded|failed"}
  • hw.status{hw.type="blade",state="present"}
  • info
  • model
  • serial_number
Fan
  • hw.status{hw.type="fan",state="ok|degraded|failed"}
  • hw.status{hw.type="fan",state="present"}
  • info
Logical Disk, RAID
  • hw.logical_disk.limit
  • hw.status{hw.type="logical_disk",state="ok|degraded|failed"}
  • hw.status{hw.type="logical_disk",state="present"}
  • info
Network Card, FC Port
  • hw.network.bandwidth.limit
  • hw.network.up
  • hw.status{hw.type="network",state="present"}
  • info
  • physical_address
Other Device
  • hw.status{hw.type="other_device",state="ok|degraded|failed"}
  • hw.status{hw.type="other_device",state="present"}
  • info
  • device_type
Physical Disk
  • hw.physical_disk.size
  • hw.status{hw.type="physical_disk",state="ok|degraded|failed"}
  • hw.status{hw.type="physical_disk",state="present"}
  • info
  • model
  • serial_number
  • vendor
Power Supply
  • hw.status{hw.type="power_supply",state="ok|degraded|failed"}
  • hw.status{hw.type="power_supply",state="present"}
  • info
Temperature Sensor
  • hw.status{hw.type="temperature",state="ok|degraded|failed"}
  • hw.status{hw.type="temperature",state="present"}
  • info
No results.