HP-UX (STM)
Description
This connector provides monitoring information for physical disks and memory modules on HP-UX systems through the Support Tools Manager utilities (stm).
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Superseded Connector
This connector is superseded by:
Target
Typical platforms: HPE Alletra 9000, HPE Integrity, HPE SuperDome, HP-UX
Operating system: HP-UX
Prerequisites
Leverages: HP-UX Support Tools Manager (STM)
Technology and protocols: Commands
Examples
CLI
metricshub HOSTNAME -t linux -c +HPUXStm --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: linux
connectors: [ +HPUXStm ] # 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 (STM) 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:
/bin/ls /usr/bin/stm - Output contains:
^/usr/bin/stm$(regex)
- Command:
- The command below succeeds on the monitored host:
- Command:
/bin/echo "map"|/usr/bin/stm -c - Output contains:
Active Tool(regex)
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| disk_controller | hw.status{hw.type="disk_controller", state="present"} | controller_numberhw.parent.typeidmodelname |
| fan | hw.status{hw.type="fan", state="degraded|failed|ok"}hw.status{hw.type="fan", state="present"} | hw.parent.typeidnamesensor_location |
| memory | hw.errors{hw.type="memory"}hw.memory.limithw.status{hw.type="memory", state="degraded|failed|ok"}hw.status{hw.type="memory", state="present"} | hw.parent.typeidnametype |
| physical_disk | hw.errors{hw.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.typeidnameserial_numbervendor |
| power_supply | hw.status{hw.type="power_supply", state="degraded|failed|ok"}hw.status{hw.type="power_supply", state="present"} | hw.parent.typeidnamepower_supply_type |