Install
openclaw skills install @kasture-rohit/vcf-loginsight-healthCheck the health, uptime, and node status of Aria Operations for Logs (Log Insight) in a VCF environment.
openclaw skills install @kasture-rohit/vcf-loginsight-healthWhen the user asks to check the health of the Log Insight or Aria Operations for Logs cluster, follow these steps:
LOGINSIGHT_HOST and LOGINSIGHT_API_TOKEN are available in the environment.exec tool to run the following command to check the cluster status:
curl -s -k -X GET "https://$LOGINSIGHT_HOST/api/v1/health" \
-H "Authorization: Bearer $LOGINSIGHT_API_TOKEN" \
-H "Accept: application/json" | jq '.'
exec tool to run the following command to check individual node uptime and status:
curl -s -k -X GET "https://$LOGINSIGHT_HOST/api/v1/cluster/nodes" \
-H "Authorization: Bearer $LOGINSIGHT_API_TOKEN" \
-H "Accept: application/json" | jq '.nodes[] | {id, ip, status, uptime}'