psm dhcs check-health

Display health monitoring information about a Oracle Data Hub Cloud Service cluster.

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm dhcs check-health -s|--service-name cluster-name 
    [-of|--output-format short|json|html]

Parameters

Parameter Description

-s|--service-name cluster-name

Specifies the name of the Oracle Data Hub Cloud Service cluster.

-of|--output-format short|json|html

(Optional) Specifies the output format of the command’s response:

  • short— output is formatted as a brief summary.

  • json— output is formatted as a JSON array.

  • html— output is formatted as HTML

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Examples

The following example displays health information about the cluster1 cluster using the short output format.

$ psm dhcs check-health --service-name cluster1 -of short
 Status:        UP
 Message:       Running
 Checked At:    2017-10-26T06:08:34.233+00:00