Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-cce-alarm-correlation-engine

БесплатноЗапускает вложенные скриптыНе проверен

Huawei Cloud AOM alarm correlation and alarm-rule management skill for CCE operations. Use this skill when the user wants to: (1) query AOM active and…

huaweicloudskillот huaweicloudskill519 установок в других каталогах

Об этом скилле

Huawei Cloud CCE Alarm Correlation Engine

Overview

Correlate Huawei Cloud AOM active and historical alarms for CCE operations, then convert raw alarm streams into prioritized investigation leads. This skill also manages AOM alarm rules and notification action rules through a strict preview-and-confirm workflow.

Architecture: python3 scripts/huawei-cloud.py dispatcher -> local hcloud (KooCLI) -> AOM/CCE/IAM cloud service operations -> alarm query, alarm correlation, alarm-rule management, notification-rule management, and CCE alarm health inspection.

Execution Method: All Huawei Cloud operations must go through the bundled Python dispatcher. The dispatcher invokes the local hcloud CLI. Direct SDK imports, hand-written API signing, curl IAM flows, openstack commands, or out-of-band cloud access paths are prohibited.

Related Skills:

  • huawei-cloud-cce-metric-analyzer - CCE, AOM, and cloud-resource metric checks
  • huawei-cloud-cce-kubernetes-event-analyzer - Kubernetes warning event analysis
  • huawei-cloud-cce-pod-failure-diagnoser - Pod failure diagnosis
  • huawei-cloud-cce-node-failure-diagnoser - Node failure diagnosis
  • huawei-cloud-cce-auto-remediation-runner - Remediation preview and execution

Capabilities:

  • Query active AOM alarms, historical AOM alarms, and merged active+historical views
  • Analyze alarm deduplication, severity grouping, burst alarms, attention alarms, and chronic alarms
  • Inspect CCE alarm health and produce risk items for follow-up diagnosis
  • Query AOM alarm rules with optional cluster_id filtering
  • Resolve the AOM Prometheus instance bound to a CCE cluster
  • Create metric alarm rules and event alarm rules
  • Create notification action rules from a user-provided SMN topic
  • Batch configure CCE recommended alarm rules from the cloud-side CCE alarm template
  • Batch clean CCE alarm rules matching the cloud-side CCE alarm template
  • Update, delete, enable, and disable AOM alarm rules
  • Query AOM action rules and mute rules

Typical Use Cases:

  • "List AOM alarms for this CCE cluster"
  • "Analyze active and historical alarms for alarm storms"
  • "Show current alarm rules for cluster <cluster_id>"
  • "Create CCE recommended alarm rules with this notification rule"
  • "Clean CCE template alarm rules for this cluster"
  • "Create a notification action rule using this SMN topic"
  • "Disable this noisy alarm rule after I confirm"

Prerequisites

1. Runtime Dependencies

  • Python 3.8+ for the dispatcher and result processing
  • hcloud (KooCLI) 7.2.2+ in PATH
  • A local hcloud profile configured with hcloud configure
  • Run environment checks before first use when available in the skill package

2. Credential Configuration

  • Valid Huawei Cloud credentials via explicit tool parameters, local hcloud profile, or environment variable fallback
  • Credential priority for hcloud calls is: explicit tool parameters > local hcloud profile > environment variables
  • Tools that need project_id resolve it internally where possible: explicit project_id parameter first, then active hcloud profile/IAM project lookup for the target region, then environment fallback

Security Rules:

  • Never expose AK/SK, tokens, or credential-derived secrets in code, commands, logs, or responses
  • Never run echo $HUAWEI_AK or echo $HUAWEI_SK
  • Never write credentials to files
  • Prefer hcloud profile for normal use
  • Use IAM users with least privilege

Optional Environment Fallback:

export HUAWEI_AK=<your-ak>
export HUAWEI_SK=<your-sk>
export HUAWEI_REGION=cn-north-4
export HUAWEI_PROJECT_ID=<project-id>
export HUAWEI_SECURITY_TOKEN=<security-token>

3. IAM Permission Requirements

Permission Purpose
aom:event:list Query active and historical AOM alarms
aom:alarmRule:list Query AOM alarm rules
aom:alarmRule:create Create AOM alarm rules
aom:alarmRule:update Update, enable, or disable AOM alarm rules
aom:alarmRule:delete Delete AOM alarm rules
aom:actionRule:list Query AOM action/notification rules
aom:actionRule:create Create AOM notification action rules
aom:actionRule:delete Delete AOM notification action rules
aom:muteRule:list Query AOM mute rules
cce:cluster:get Resolve CCE cluster and AOM Prometheus binding

Permission Failure Handling:

  1. Show the failed operation and required permission.
  2. Ask the user to grant the missing IAM permission.
  3. Pause mutation work until the user confirms permissions are ready.

Core Commands

All commands use the Python dispatcher script:

python3 scripts/huawei-cloud.py <action> <key=value>...

KooCLI命令格式标准

This skill does not ask users to run raw hcloud commands directly. All cloud operations must use the dispatcher command format:

python3 scripts/huawei-cloud.py <tool-name> key=value key=value

The dispatcher converts tool parameters into standard KooCLI

Полный SKILL.md на ClawHub

Установить huawei-cloud-cce-alarm-correlation-engine в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-cce-alarm-correlation-engine?

Huawei Cloud AOM alarm correlation and alarm-rule management skill for CCE operations. Use this skill when the user wants to: (1) query AOM active and historical alarms, (2) analyze alarm deduplication, alarm storms, severity grouping, burst alarms, and chronic alarms, (3) inspect CCE cluster alarm health, (4) query, create, update, delete, enable, or disable AOM alarm rules, (5) query or create notification action rules, (6) batch configure or clean CCE recommended AOM alarm rules from the cloud-side CCE alarm template. Trigger: user mentions "alarm correlation", "AOM alarm", "alarm rule", "alarm storm", "alarm inspection", "notification rule", "告警关联", "AOM 告警", "告警规则", "告警风暴", "通知规则", or "CCE 告警".

Как установить скилл huawei-cloud-cce-alarm-correlation-engine?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-cce-alarm-correlation-engine запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-cce-alarm-correlation-engine с