MetricsHub
MetricsHub Enterprise 1.0.02
Back to the list of connectors[1]
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 sensors.
enterprise[2] hardware[3] hitachi[4] linux[5] storage[6]
Target
Typical platforms: Hitachi AMS Hitachi HUS
Operating system: Storage System
Prerequisites
Leverages: Hitachi SNM2 CLI
Technology and protocols: Command Lines
Examples
CLI
metricshub HOSTNAME -t storage -c +HitachiSNM2CLILinux --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: storage
connectors: [ +HitachiSNM2CLILinux ] # Optional, to load only this connector
protocols:
ssh:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
Connector Activation Criteria
The Hitachi HDS AMS/HUS (SNM2 CLI on Linux) connector will be automatically activated, 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 |
---|---|---|
battery |
|
|
enclosure |
|
|
fan |
|
|
logical_disk |
|
|
memory |
|
|
network |
|
|
other_device |
|
|
physical_disk |
|
|
power_supply |
|
|
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.