Back to the list of connectors[1]

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

This connector is superseded by:

enterprise[3] hardware[4] hp-ux[5] hpe[6]

Target

Typical platforms: HP 9000 HP Integrity HP SuperDome

Operating system: HP-UX

Prerequisites

Leverages: HP-UX Support Tools Manager (STM)

Technology and protocols: Command Lines

Examples

CLI

metricshub HOSTNAME -t hp -c +HPUXStm --ssh -u USER

metricshub.yaml

resourceGroups:
  <RESOURCE_GROUP>:
    resources:
      <HOSTNAME-ID>:
        attributes:
          host.name: <HOSTNAME> # Change with actual host name
          host.type: hp
        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:

  • Operating System is HP-UX
  • 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 "map"|/usr/bin/stm -c
    • Output contains: Active Tool (regex)

Metrics

Type Collected Metrics Specific Attributes
disk_controller
  • hw.status{hw.type="disk_controller", state="present"}
  • controller_number
  • hw.parent.type
  • id
  • model
  • name
fan
  • hw.status{hw.type="fan", state="degraded|failed|ok"}
  • hw.status{hw.type="fan", state="present"}
  • hw.parent.type
  • id
  • name
  • sensor_location
memory
  • hw.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_disk
  • hw.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_supply
  • hw.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
No results.