MetricsHub
MetricsHub Enterprise 1.0.01
Back to the list of connectors[1]
Hitachi HDS AMS/HUS (SNM2 CLI on Windows) Enterprise
Description
This connector discovers the status of Hitachi AMS/HUS's processors, CSW, cache, SM, power supplies, batteries, fans, physical disks and environment sensors.
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 +HitachiSNM2CLINT --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: storage
connectors: [ +HitachiSNM2CLINT ] # 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 Windows) 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:
echo %OS%
- Output contains:
Windows_NT
(regex)
- Command:
- The command below succeeds on the agent host
- Command:
IF DEFINED STONAVM_HOME ( echo STONAVM_HOME Defined )
- Output contains:
STONAVM_HOME Defined
(regex)
- Command:
- The command below succeeds on the agent host
- Command:
set 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.