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-prodhost.type: hpux -
Configure the
SSHprotocol withcredentialsandtimeoutprotocols:ssh:username: USERNAMEpassword: PASSWORDtimeout: 30 -
Add a new instance of the
HPUXProcessconnector for the monitoring ofsnmpdm. Name this new instancesnmpdmProcess, for example:additionalConnectors:snmpdmProcess:uses: HPUXProcess -
Set the variable
matchNamefor 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