Token导航 LogoToken导航TokenDH.com
运维和基础设施需要联网github未标认证来源可访问许可证需确认审计未展示

alertmanager_standalone警报管理器独立

Agent Skill

alertmanager_standalone 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

235

周安装

10

GitHub Stars

公开资料未说明

下载量

82
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:alertmanager_standalone(警报管理器独立)
来源仓库:https://github.com/davidcastagnetoa/skills
仓库路径:skills/alertmanager_standalone
安装命令:
npx skills add https://github.com/davidcastagnetoa/skills --skill alertmanager_standalone
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/davidcastagnetoa/skills --skill alertmanager_standalone

简介

将 Prometheus Alertmanager 部署为独立组件,管理 KYC 管道的全周期告警。

  • 支持智能路由、维护窗口静默、告警聚合及集成外部通知系统。
  • 适用于需要分离 Prometheus 与 Alertmanager 服务的观测性架构场景。
  • 安装方式:npx skills add https://github.com/davidcastagnetoa/skills --skill alertmanager_standalone
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

alertmanager_standalone

Prometheus Alertmanager desplegado como componente independiente para gestionar el ciclo de vida completo de las alertas del pipeline KYC. Maneja routing inteligente de alertas, silencing durante ventanas de mantenimiento, agrupacion de alertas relacionadas e integracion con canales de notificacion como PagerDuty y Slack.

When to use

Usa esta skill cuando necesites configurar o gestionar Alertmanager como servicio separado de Prometheus para el pipeline KYC. Pertenece al observability_agent y se aplica cuando hay que definir reglas de routing, configurar receptores de notificaciones, o gestionar silences y inhibiciones de alertas criticas del sistema de verificacion.

Instructions

  1. Desplegar Alertmanager como contenedor independiente en el cluster: # docker-compose.alertmanager.yml services: alertmanager: image: prom/alertmanager:v0.27.0 ports: - "9093:9093" volumes: -./alertmanager/alertmanager.yml:/etc/alertmanager/alertmanager.yml - alertmanager-data:/alertmanager command: - '--config.file=/etc/alertmanager/alertmanager.yml' - '--storage.path=/alertmanager' - '--cluster.listen-address=0.0.0.0:9094' restart: unless-stopped
  2. Configurar el routing de alertas con receptores diferenciados por severidad: # alertmanager.yml global: resolve_timeout: 5m route: receiver: 'slack-default' group_by: ['alertname', 'module'] group_wait: 30s group_interval: 5m repeat_interval: 4h routes: - match: severity: critical receiver: 'pagerduty-kyc' group_wait: 10s - match: module: liveness receiver: 'slack-antifraude' - match: severity: warning receiver: 'slack-default'
  3. Configurar los receptores de PagerDuty para alertas criticas del pipeline: receivers: - name: 'pagerduty-kyc' pagerduty_configs: - service_key_file: '/etc/alertmanager/secrets/pagerduty_key' severity: 'critical' description: '{{.CommonAnnotations.summary}}' details: module: '{{.CommonLabels.module}}' session_count: '{{.CommonAnnotations.affected_sessions}}'
  4. Configurar el receptor de Slack para alertas de severidad warning: - name: 'slack-default' slack_configs: - api_url_file: '/etc/alertmanager/secrets/slack_webhook' channel: '#kyc-alerts' title: '[{{.Status | toUpper}}] {{.CommonLabels.alertname}}' text: '{{.CommonAnnotations.description}}' send_resolved: true - name: 'slack-antifraude' slack_configs: - api_url_file: '/etc/alertmanager/secrets/slack_webhook' channel: '#kyc-antifraude' title: 'Alerta Liveness: {{.CommonLabels.alertname}}' text: '{{.CommonAnnotations.description}}'
  5. Definir reglas de inhibicion para evitar cascadas de alertas: inhibit_rules: - source_match: severity: 'critical' target_match: severity: 'warning' equal: ['alertname', 'module'] - source_match: alertname: 'KYCServiceDown' target_match: alertname: 'KYCHighLatency' equal: ['module']
  6. Definir las alerting rules en Prometheus apuntando al Alertmanager independiente: # prometheus.yml alerting: alertmanagers: - static_configs: - targets: ['alertmanager:9093'] rule_files: - '/etc/prometheus/rules/kyc_alerts.yml'
  7. Crear reglas de alerta especificas para el pipeline KYC: # kyc_alerts.yml groups: - name: kyc-pipeline rules: - alert: KYCHighFraudRate expr: rate(kyc_fraud_detected_total[5m]) > 0.1 for: 2m labels: severity: critical module: antifraud annotations: summary: "Tasa de fraude anormalmente alta" description: "Se detectan mas de 0.1 fraudes/s en los ultimos 5 minutos" - alert: KYCVerificationLatencyHigh expr: histogram_quantile(0.95, rate(kyc_verification_duration_seconds_bucket[5m])) > 8 for: 3m labels: severity: warning annotations: summary: "Latencia p95 supera el objetivo de 8 segundos"
  8. Validar la configuracion con amtool antes de desplegar: amtool check-config alertmanager.yml amtool config routes show --config.file=alertmanager.yml

Notes

  • Alertmanager debe desplegarse en modo cluster (minimo 2 instancias) en produccion para alta disponibilidad, usando el flag --cluster.peer para sincronizacion.
  • Los secrets de PagerDuty y Slack deben gestionarse mediante Kubernetes Secrets o un vault, nunca en texto plano en la configuracion.
  • El grupo de alertas por module permite correlacionar problemas con etapas especificas del pipeline KYC (liveness, face_match, ocr, doc_processing) y escalar al equipo correcto.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.59%
按下载量换算28

Claude

27.98%
按下载量换算23

Cursor

19.87%
按下载量换算16

Gemini CLI

8.62%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills