HP Qumulo with Python
Description
This connector provides hardware information about HP Qumulo storage systems using Python and QQ CLI tools installed on the agent (Windows Only). Environment variables need to be set for Python and the QQ CLI tools, in a way that the query 'python %QQCLI%\qq --help' is valid.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Target
Typical platform: HPE Qumulo
Operating system: Storage System
Prerequisites
Leverages: QQ CLI
Technology and protocols: Commands
Examples
CLI
metricshub HOSTNAME -t storage -c +HPQumuloPython --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: storage
connectors: [ +HPQumuloPython ] # Optional, to load only this connector
protocols:
ssh:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
Connector Activation Criteria
The HP Qumulo with Python 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:
python %QQCLI%\qq --help - Output contains:
Qumulo CLI(regex)
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| enclosure | hw.status{hw.type="enclosure", state="degraded|failed|ok"}hw.status{hw.type="enclosure", state="present"} | idinfomodelnameserial_numbervendor |
| network | hw.network.io{direction="receive"}hw.network.io{direction="transmit"}hw.status{hw.type="network", state="degraded|failed|ok"}hw.status{hw.type="network", state="present"} | device_typehw.parent.idhw.parent.typeidlogical_addresslogical_address_typenamephysical_addressphysical_address_type |
| physical_disk | hw.physical_disk.sizehw.status{hw.type="physical_disk", state="degraded|failed|ok"}hw.status{hw.type="physical_disk", state="present"} | hw.parent.idhw.parent.typeidinfomodelnameserial_number |