Health check report signatures
When you prepare health check reports, the HCP system runs a health diagnostic tool on the available nodes in the cluster. This tool runs various signatures to collect information about the health of the HCP nodes.
Signatures are JSON files containing different shell commands that gather configuration information and collect data on potential issues related to the health of a node. Signatures are classified into components and types (info and issue).
Components include items such as replication, admin, or JVM. Info signatures collect node configuration information such as memory configuration, HCP version, hot fixes, and other HCP configurations. Issue signatures report if a node either is experiencing a certain issue or is at risk of experiencing an issue, such as server issues, object issues, repeated node restarts, or other general issues.
Example: Signature that provides information about disk errors
The following sample health check report signature provides information about specific disk errors on an HCP system. The output format is a JSON file.
{ "name": "DiskErrors", "description": "Get the disk errors", "issueId": "N/A", "component": "Operating System", "executionTime": 15, "modifiedDate": "July 28, 2020 5:57:26 PM", "product": "Hitachi Content Platform", "signatureType": "GeneralIssue", "hcpVersion": "9.2.0", "signatureStatus": "NotMatched", "runMode": "online", "steps": [ { "stepId": "1", "command": "cat /var/log/messages | grep -iE \u0027(error|scsi|unexpected|failure|conflict)\u0027 ", "expectedOutputCommand": "if [[ $(grep -i [A-Z] \"%s\" | wc -l) -gt 0 ]]; then echo true; fi", "logTrace": "", "signatureMatched": false, "executionTime": 15, "timedOut": false, "stepExecutionFailure": "No Error", "timeOutMillis": 10000 } ] }