Development v1.0.1

vcf-loginsight-sddc-errors

Extract recent critical SDDC Manager and vCenter error logs from Aria Operations for Logs to assist with VCF...

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

技能说明

Extract recent critical SDDC Manager and vCenter error logs from Aria Operations for Logs to assist with VCF troubleshooting.

使用场景

When the user asks to find recent errors, investigate failures, or troubleshoot SDDC Manager workflows, follow these steps:

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

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

技能文件内容

4 个文件 · 22 kB
SKILL.md text/markdown
---
name: vcf-loginsight-sddc-errors
description: Extract recent critical SDDC Manager and vCenter error logs from Aria Operations for Logs to assist with VCF troubleshooting.
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: ""
---

# Query VCF Critical Errors

When the user asks to find recent errors, investigate failures, or troubleshoot SDDC Manager workflows, follow these steps:

1. **Verify Credentials:** Ensure `LOGINSIGHT_HOST` and `LOGINSIGHT_API_TOKEN` are available in the environment.
2. **Query Recent Errors:** Use the `exec` tool to run the following command. This queries the Log Insight API for recent log entries containing the keyword "error" specifically originating from SDDC Manager or related VCF components:
   ```bash
   curl -s -k -X GET "https://$LOGINSIGHT_HOST/api/v1/events?keyword=error&limit=10" \
     -H "Authorization: Bearer $LOGINSIGHT_API_TOKEN" \
     -H "Accept: application/json" | jq '.events[]? | {timestamp, source, text}'
   ```
3. **Format and Analyze Output:** * Parse the returned JSON payload.
   * Present the logs to the user in a clean, readable format (e.g., bulleted list or table) showing the Timestamp, Source, and the exact Error Text.
   * Provide a brief, logical assessment of what might be failing in the VCF environment based on the context of the error messages. If no errors are found, let the user know the recent workflows appear clean.

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