Here is a sample HCP health check report signature that provides information regarding the status of a system. In this example, the signature status is reported as passed. The output format is a JSON file.
Sample signature in JSON
{
"name" : "JVMStatus",
"description" : "JVM status",
"issueId" : "N/A",
"component" : "Admin",
"modifiedDate" : May 31, 2018 7:07:51 PM",
"product" : "Hitachi Content Platform",
"signatureType" : "INFO",
"supportedVersions" : [
{
"supportedVersion" : "8.1.0"
}
],
"signatureStatus" : "Passed",
"steps" : [
{
"stepId" : "1",
"commandType" : "Admin",
"command" : "admin jvm status",
"expectedOutputCommand" : "if [[ $(grep system \"%s\" | wc -l) -gt 0 ]]; then echo true; fi",
"logTrace" : "system log trace",
"signatureMatched" : true,
"truncatedLogTrace" : "Truncated the LogTrace Output, please run the command manually to get the full log trace",
"executionTime" : 236,
"timedOut" : false,
"stepExecutionFailure" : "No Error",
"timeOutDuration" : 10
}
]
}
© 2015, 2020 Hitachi Vantara LLC. All rights reserved.