Search & Analysis v1.0.1

vcf-loginsight-health

Check the health, uptime, and node status of Aria Operations for Logs (Log Insight) in a VCF environment.

kasture 更新于 2026-04-06 1 浏览
下载 SKILL

技能说明

Check the health, uptime, and node status of Aria Operations for Logs (Log Insight) in a VCF environment.

使用场景

When the user asks to check the health of the Log Insight or Aria Operations for Logs cluster, follow these steps:

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/vcf-loginsight-health
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
---
name: vcf-loginsight-health
description: Check the health, uptime, and node status of Aria Operations for Logs (Log Insight) in a VCF environment.
version: 1.0.1
homepage: https://github.com/kasture-rohit/vcf-openclaw-skills
metadata:
  openclaw:
    requires:
      env:
        - LOGINSIGHT_HOST
        - LOGINSIGHT_API_TOKEN
      bins:
        - curl
        - jq
    primaryEnv: LOGINSIGHT_API_TOKEN
    emoji: ""
---

# VCF Log Insight Health Check

When the user asks to check the health of the Log Insight or Aria Operations for Logs cluster, follow these steps:

1.  **Verify Credentials:** Ensure `LOGINSIGHT_HOST` and `LOGINSIGHT_API_TOKEN` are available in the environment.
2. **Fetch Cluster Health:** Use the `exec` tool to run the following command to check the cluster status:
   ```bash
   curl -s -k -X GET "https://$LOGINSIGHT_HOST/api/v1/health" \
     -H "Authorization: Bearer $LOGINSIGHT_API_TOKEN" \
     -H "Accept: application/json" | jq '.'
   ```
3. **Fetch Node Status:** Use the `exec` tool to run the following command to check individual node uptime and status:
   ```bash
   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}'
   ```
4. **Report to User:** Summarize the JSON output into a clean, readable table detailing the overall health and the status of each node. Point out any errors or disconnected nodes explicitly.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。