HP-UX - System
Description
Collects system metrics from HP-UX hosts using various command-line tools and a C program that relies on the C pstat and dk libraries. Implements the OpenTelemetry semantic conventions for system metrics.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Target
Typical platform: HP-UX
Operating system: HP-UX
Prerequisites
Leverages: HP-UX system commands
Technology and protocols: Commands
Examples
CLI
metricshub HOSTNAME -t linux -c +HPUXSystem --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: linux
connectors: [ +HPUXSystem ] # 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 - System 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:
uname -s - Output contains:
^HP-UX$(regex)
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| cpu | hw.status{hw.type="cpu", state="present"}system.cpu.time{system.cpu.state="idle"}system.cpu.time{system.cpu.state="io_wait"}system.cpu.time{system.cpu.state="system"}system.cpu.time{system.cpu.state="user"}system.cpu.utilization{system.cpu.state="idle"}system.cpu.utilization{system.cpu.state="io_wait"}system.cpu.utilization{system.cpu.state="system"}system.cpu.utilization{system.cpu.state="user"} | idnamesystem.cpu.logical_number |
| file_system | system.filesystem.usage{system.filesystem.state="free"}system.filesystem.usage{system.filesystem.state="reserved"}system.filesystem.usage{system.filesystem.state="used"}system.filesystem.utilization{system.filesystem.state="free"}system.filesystem.utilization{system.filesystem.state="reserved"}system.filesystem.utilization{system.filesystem.state="used"} | idsystem.devicesystem.filesystem.mountpointsystem.filesystem.type |
| memory | hw.status{hw.type="memory", state="present"}system.memory.limitsystem.memory.usage{system.memory.state="free"}system.memory.usage{system.memory.state="used"}system.memory.utilization{system.memory.state="free"}system.memory.utilization{system.memory.state="used"} | id |
| network | hw.status{hw.type="network", state="present"}system.network.bandwidth.limitsystem.network.dropped{network.io.direction="receive"}system.network.dropped{network.io.direction="transmit"}system.network.errors{network.io.direction="receive"}system.network.errors{network.io.direction="transmit"}system.network.io{network.io.direction="receive"}system.network.io{network.io.direction="transmit"}system.network.packets{network.io.direction="receive"}system.network.packets{network.io.direction="transmit"} | idnetwork.interface.ipnetwork.interface.mac_addressnetwork.interface.namenetwork.interface.state |
| paging | system.paging.usage{system.paging.state="free"}system.paging.usage{system.paging.state="used"}system.paging.utilization{system.paging.state="free"}system.paging.utilization{system.paging.state="used"} | idsystem.device |
| paging_activity | system.paging.faults{system.paging.type="major"}system.paging.faults{system.paging.type="minor"}system.paging.operations{system.paging.direction="in"}system.paging.operations{system.paging.direction="out"} | id |
| physical_disk | hw.status{hw.type="physical_disk", state="present"}system.disk.iosystem.disk.io_timesystem.disk.operations{disk.io.direction="read"}system.disk.operations{disk.io.direction="write"} | idsystem.device |
| system | system.uptime | idnameos_versionversion |