Aruba (SNMP)
Description
This connector discovers the Aruba Network Switch enclosure as well as various environment sensors (temperature, fans, power supplies). It relies on the SNMP protocol.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Supersedes
This connector supersedes:
Target
Typical platform: HPE Aruba
Operating system: Network Device
Prerequisites
Leverages: SNMP Agent
Technology and protocols: SNMP
Examples
CLI
metricshub HOSTNAME -t network -c +Aruba --snmp v2c --community public
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: network
connectors: [ +Aruba ] # Optional, to load only this connector
protocols:
snmp:
version: v2c # Read documentation for v1, v2c and v3
community: public # or probably something more secure
Connector Activation Criteria
The Aruba (SNMP) connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:
- An SNMP GetNext on the OID
1.3.6.1.2.1.2.2.1must return a non-empty value - An SNMP GetNext on the OID
1.3.6.1.4.1.14823.2.2.1.2must return a non-empty value
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| enclosure | hw.status{hw.type="enclosure", state="present"} | device_hostnameidmodelnametypevendor |
| fan | hw.status{hw.type="fan", state="degraded|failed|ok"}hw.status{hw.type="fan", state="present"} | hw.parent.idhw.parent.typeidname |
| network | hw.errors{hw.type="network"}hw.network.bandwidth.limithw.network.dropped{network.io.direction="receive"}hw.network.dropped{network.io.direction="transmit"}hw.network.io{direction="receive"}hw.network.io{direction="transmit"}hw.network.packets{direction="receive"}hw.network.packets{direction="transmit"}hw.network.uphw.status{hw.type="network", state="degraded|failed|ok"}hw.status{hw.type="network", state="present"} | device_typehw.parent.typeidnamephysical_addressphysical_address_type |
| power_supply | hw.status{hw.type="power_supply", state="degraded|failed|ok"}hw.status{hw.type="power_supply", state="present"} | hw.parent.idhw.parent.typeidname |
| temperature | hw.status{hw.type="temperature", state="degraded|failed|ok"}hw.status{hw.type="temperature", state="present"}hw.temperature | hw.parent.typeidname |