360 Secure SkillHub
360 安全技能中心

VCF SDDC Manager Errors

该 Skill 指导代理在用户要求排查 SDDC Manager 或 VCF 故障时,校验环境变量凭据,调用 Aria Operations for Logs 的 events 接口按关键字 error 取回最近日志,用 jq 提取时间戳、来源与错误文本,并以列表或表格呈现,附带对可能故障原因的简要判断。

kasture-rohit
kasture-rohit
热度 43.39
最近更新 2026-05-11 17:40:25
分类:数据依赖:代码执行 / 第三方 API应用场景:数据处理 / 报告撰写 / 调试排错

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add vcf-loginsight-sddc-errors
Metadata
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:
    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.