Skip to main content

HP-UX Process Monitoring

You can configure MetricsHub to monitor an HP-UX process. In the example below, we configured MetricsHub to monitor the snmpdm process running on the hpux-prod resource using SSH.

Procedure

To achieve this use case, we:

  • Declare the resource to be monitored (hpux-prod) and its attributes (host.name, host.type)

    resources:
    hpux-prod:
    attributes:
    host.name: hpux-prod
    host.type: hpux
  • Configure the SSH protocol with credentials and timeout

    protocols:
    ssh:
    username: USERNAME
    password: PASSWORD
    timeout: 30
  • Add a new instance of the HPUXProcess connector for the monitoring of snmpdm. Name this new instance snmpdmProcess, for example:

    additionalConnectors:
    snmpdmProcess:
    uses: HPUXProcess
  • Set the variable matchName for the service to be monitored (snmpdm):

    variables:
    matchName: snmpdm

Here is the complete YAML configuration:

resources:
hpux-prod:
attributes:
host.name: hpux-prod
host.type: hpux
protocols:
ssh:
username: USERNAME
password: USERNAME
timeout: 30
additionalConnectors:
snmpdmProcess:
uses: HPUXProcess
variables:
matchName: snmpdm

Supporting Resources