Skip to main content

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).

hardware hp-ux hpe

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)
  • The command below succeeds on the monitored host:
    • Command: /bin/echo &quot;map&quot;|/usr/bin/stm -c
    • Output contains: Active Tool (regex)

Metrics

TypeCollected MetricsSpecific Attributes
disk_controllerhw.status{hw.type="disk_controller", state="present"}controller_number
hw.parent.type
id
model
name
fanhw.status{hw.type="fan", state="degraded|failed|ok"}
hw.status{hw.type="fan", state="present"}
hw.parent.type
id
name
sensor_location
memoryhw.errors{hw.type="memory"}
hw.memory.limit
hw.status{hw.type="memory", state="degraded|failed|ok"}
hw.status{hw.type="memory", state="present"}
hw.parent.type
id
name
type
physical_diskhw.errors{hw.type="physical_disk"}
hw.physical_disk.size
hw.status{hw.type="physical_disk", state="degraded|failed|ok"}
hw.status{hw.type="physical_disk", state="present"}
hw.parent.id
hw.parent.type
id
name
serial_number
vendor
power_supplyhw.status{hw.type="power_supply", state="degraded|failed|ok"}
hw.status{hw.type="power_supply", state="present"}
hw.parent.type
id
name
power_supply_type