aliyun/alibabacloud-aiops-skills

alibabacloud-sls-alerting

Manage Alibaba Cloud SLS alerts and notifications.

Vedi sorgente
Documento Skill originale

Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.

Alibaba Cloud SLS Alerting

Prerequisites

Complete these checks before executing commands; explanation-only requests do not require CLI setup.

Install Aliyun CLI

Run aliyun version to verify version >= 3.3.22. If missing or outdated, follow the CLI installation guide.

Update Plugins

Check aliyun sls version and the requested command's help. When an update is needed, update the SLS plugin:

bash
aliyun plugin update --name sls

Profile selection

Use the CLI's configured profile by default; add --profile only when the user specifies a profile.

Observability (MUST follow for every aliyun api command)

Before the first cloud call, read this skill's manifest and use its top-level non-empty string version as {skill-version}. Stop and report an invalid or missing file/version; never guess it.

Generate a fresh random 32-character lowercase hexadecimal {session-id} for this skill in the conversation; reuse it for operations, pagination, and retries. When switching skills, read the selected skill's manifest and use its own session ID and version, including when returning to this skill.

Every cloud API command and request-only dry run MUST include this flag. Local configure, plugin, version, and help commands are exempt:

text
--user-agent "AlibabaCloud-Agent-Skills/alibabacloud-sls-alerting/{session-id} skill-version/{skill-version}"

Set SLS_ALERT_USER_AGENT to the resolved value and pass it double-quoted. Do not send literal placeholders, credentials, or personal identifiers.

Select the operation

Rules define when to raise alerts. Notification resources determine how those alerts are handled and sent. Event diagnosis explains an alert that occurred. Read the matching management or diagnosis entry, then follow only the references needed for the requested operation.

update, disable, enable, delete, or temporarily mute/unmute rules.

notification objects, alert policies, action policies, and content templates.

causes, frequency, and duration, or query alert history.

Skill usage troubleshooting

For problems running commands or bundled scripts, use skill usage troubleshooting. Rule behavior and alert outcomes belong to the functional branches above.

Shared operation boundaries

  • Read before replacement updates and preserve unrelated fields.
  • Execute changes covered by the user's request and existing authorization.
  • Read back writes and compare intended fields. Configuration success does not

prove evaluation or delivery success.

  • NEVER run aliyun configure get.
  • NEVER extract or print AccessKey IDs, AccessKey secrets, or STS tokens

from configuration files, environment variables, or command output. Never ask users to paste credentials. Let the CLI use its configured authentication.

Reference Documents

These references support all operation branches; consult them when needed.

authentication modes, and profiles.

ResourceRecord operations to the appropriate endpoint.

dallo stesso repository

Altri Skills

Tutti gli Skills
aliyun
Community

alibabacloud-ack-cli

Use when the user operates Alibaba Cloud Container Service for Kubernetes (ACK). Covers cluster lifecycle (create / modify / delete / upgrade), node pools & nodes (create, modify, delete, repair, fix CVE), addons (install / upgrade / uninstall), KubeConfig & RBAC (issue for RAM user, grant / revoke), security & policy (CVE scan/fix, policy governance, KMS, delete protection), logging / audit / alerting, intelligent O&M (check / inspect / diagnosis / auto-repair), async tasks (track / pause / res

installazioni
2
GitHub Stars
263
Aggiornato
10 ott
aliyun
Community

alibabacloud-sls-query

Alibaba Cloud SLS (Simple Log Service) log query & analysis skill. Use this skill to help users write, explain, optimize, execute, or troubleshoot SLS index search, SQL analytics, and SPL scan/pipeline statements through the aliyun CLI. Triggers: "SLS 查询", "SLS 分析", "日志查询", "日志分析", "log query", "analyze sls logs", "aliyun log query".

installazioni
4
GitHub Stars
261
Aggiornato
9 ott
aliyun
Community

alibabacloud-dataworks-metadata

DataWorks metadata Skill for Alibaba Cloud — browse Data Map metadata and perform non-destructive writes via Aliyun CLI. READ scope: list/get catalogs, databases, tables, columns, partitions; query data lineage (upstream/downstream impact); list/get datasets & versions; list/get metadata collections (Category/Album) and entities inside them; preview dataset version content. WRITE scope (non-destructive only): update table & column business metadata; register lineage relationships; create/update

installazioni
1
GitHub Stars
261
Aggiornato
8 ott
aliyun
Community

alibabacloud-cli-guidance

Guide users to manage Alibaba Cloud resources using the Aliyun CLI command-line tool. Covers CLI installation, credential configuration, plugin management, command construction, and error troubleshooting. Use this skill when the user wants to operate Alibaba Cloud services from the terminal — including ECS (云服务器, cloud servers), Function Compute (函数计算, serverless), RDS (云数据库, databases), OSS (对象存储, object storage), SLS (日志服务, log service), VPC (专有网络, networking), ESS (弹性伸缩, auto scaling), and an

installazioni
1
GitHub Stars
259
Aggiornato
8 ott