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)
- Command:
- The command below succeeds on the agent host
- Command:
SMcli %{HOSTNAME} -c "show StorageSubsystem;"
- Output contains:
drive
(regex)
- Command:
Metrics
Type | Collected Metrics | Specific Attributes (Labels) |
---|---|---|
Enclosure |
|
|
Battery |
|
|
Blade |
|
|
Fan |
|
|
Logical Disk, RAID |
|
|
Network Card, FC Port |
|
|
Other Device |
|
|
Physical Disk |
|
|
Power Supply |
|
|
Temperature Sensor |
|
|