Back to the list of connectors
Hitachi HDS AMS/HUS (SNM2 CLI on Linux)
Description
This connector discovers the status of Hitachi AMS/HUS's Processors, CSW, Cache, SM, Power Supplies, Batteries, Fans, Physical Disks and Environment.
Connector ID: HitachiSNM2CLILinux
Target
Typical platforms: Hitachi AMS, Hitachi HUS
Operating system: Storage System
Prerequisites
Leverages: Hitachi SNM2 CLI
Technology and protocols: System Commands
Examples
CLI
hws HOSTNAME -t storage -f HitachiSNM2CLILinux --ssh -u USER
hws-config.yaml
hosts:
- host:
hostname: <HOSTNAME> # Change with actual host name
type: storage
selectedConnectors: [ HitachiSNM2CLILinux ] # Optional, to load only this connector
ssh:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using hws-encrypt
Connector Activation Criteria
The Hitachi HDS AMS/HUS (SNM2 CLI on Linux) connector must be selected manually, and its status will be reported as OK if all the below criteria are met:
- The command below succeeds on the agent host
- Command:
uname
- Output contains:
Linux
(regex)
- Command:
- The command below succeeds on the agent host
- Command:
if [ -n "$STONAVM_HOME" ]; then echo STONAVM_HOME Defined; fi
- Output contains:
STONAVM_HOME Defined
(regex)
- Command:
- The command below succeeds on the agent host
- Command:
if [ -n "$LD_LIBRARY_PATH" ]; then echo LD_LIBRARY_PATH Defined; fi
- Output contains:
LD_LIBRARY_PATH Defined
(regex)
- Command:
- The command below succeeds on the agent host
- Command:
export STONAVM_RSP_PASS=on;echo %{PASSWORD}>$STONAVM_HOME/MS_HW_pwdfile;$STONAVM_HOME/auaccountenv -set -uid %{USERNAME} -passwdfile $STONAVM_HOME/MS_HW_pwdfile
- Output contains:
The account information has been set successfully
(regex)
- Command:
Metrics
Type | Collected Metrics | Specific Attributes (Labels) |
---|---|---|
Enclosure |
|
|
Battery |
|
|
Fan |
|
|
Logical Disk, RAID |
|
|
Memory Module |
|
|
Network Card, FC Port |
|
|
Other Device |
|
|
Physical Disk |
|
|
Power Supply |
|
|
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.