HP-UX - Network
Description
This connector discovers and monitors Ethernet adapters.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Supersedes
This connector supersedes:
Target
Typical platforms: HPE Alletra 9000, HPE Integrity, HPE SuperDome, HP-UX
Operating system: HP-UX
Prerequisites
Leverages: HP-UX system commands (lanscan, etc.)
Technology and protocols: Commands
Examples
CLI
metricshub HOSTNAME -t linux -c +HPUXNetwork --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: linux
connectors: [ +HPUXNetwork ] # 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-UX - Network 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: HP
- The command below succeeds on the monitored host:
- Command:
/usr/sbin/lanscan - Output contains:
^[0-9]+/[0-9]+/[0-9]+(regex)
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| network | hw.errors{hw.type="network"}hw.network.bandwidth.limithw.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"} | hw.parent.typeidmodelnamephysical_addressphysical_address_type |