Nimble
Description
This connector enables hardware monitoring for Nimble Storage Systems via Nimble's REST API.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Target
Typical platform: HPE Nimble
Operating system: Storage System
This connector is not available for the local host (it is applicable to remote hosts only).
Prerequisites
Leverages: Nimble REST API
Technology and protocols: HTTP
Examples
CLI
metricshub HOSTNAME -t storage -c +Nimble --https --http-port 443 -u USERNAME
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: storage
connectors: [ +Nimble ] # Optional, to load only this connector
protocols:
http:
https: true
port: 443 # or probably something else
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
Connector Activation Criteria
The Nimble connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:
- The device type must be one of: Storage
- The HTTP Request below to the managed host succeeds:
- GET
/versions - Request Header:
Content-Type: application/json - The response body contains:
"name": *"v1"(regex)
- GET
- The HTTP Request below to the managed host succeeds:
- POST
/v1/tokens - Request Header:
Content-Type: application/json - Request Body:
{"data":{"password":"%{PASSWORD}","username":"%{USERNAME}"}} - The response body contains:
session_token(regex)
- POST
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| blade | hw.status{hw.type="blade", state="present"} | hw.parent.idhw.parent.typeidmodelname |
| enclosure | hw.status{hw.type="enclosure", state="degraded|failed|ok"}hw.status{hw.type="enclosure", state="present"} | idinfomodelnameserial_numbertypevendor |
| fan | hw.fan.speedhw.status{hw.type="fan", state="degraded|failed|ok"}hw.status{hw.type="fan", state="present"} | hw.parent.idhw.parent.typeidinfoname |
| network | hw.network.bandwidth.limithw.network.uphw.status{hw.type="network", state="degraded|failed|ok"}hw.status{hw.type="network", state="present"} | hw.parent.idhw.parent.typeidnamephysical_addressphysical_address_type |
| other_device | hw.status{hw.type="other_device", state="degraded|failed|ok"}hw.status{hw.type="other_device", state="present"} | device_typehw.parent.idhw.parent.typeidinfoname |
| physical_disk | hw.physical_disk.sizehw.status{hw.type="physical_disk", state="degraded|failed|ok"}hw.status{hw.type="physical_disk", state="present"} | firmware_versionhw.parent.idhw.parent.typeidinfomodelnameserial_numbervendor |
| power_supply | hw.status{hw.type="power_supply", state="degraded|failed|ok"}hw.status{hw.type="power_supply", state="present"} | hw.parent.idhw.parent.typeidinfoname |
| temperature | hw.status{hw.type="temperature", state="degraded|failed|ok"}hw.status{hw.type="temperature", state="present"}hw.temperaturehw.temperature.limit{limit_type="high.critical"}hw.temperature.limit{limit_type="high.degraded"}hw.temperature.limit{limit_type="low.critical"}hw.temperature.limit{limit_type="low.degraded"} | hw.parent.idhw.parent.typeidinfoname |