bedkillerspacex-boop/codex-skill-library/alertmanager-msteams
Claude Code and agent skill by bedkillerspacex-boop/codex-skill-library
- community
Checking that the SKILL.md file is still in the repository.
Route Prometheus Alertmanager notifications to Microsoft Teams for owned platforms: webhook connectors or Workflows, receiver config, templating, grouping/inhibition, secret hygiene, and quiet-hours patterns. Use when wiring Alertmanager → Teams channels or debugging missing/noisy adaptive cards — not for spamming external tenants.
Install
npx vskill@latest install bedkillerspacex-boop/codex-skill-library/alertmanager-msteamsSKILL.md
The same SKILL.md was published earlier as bedkillerspacex-boop/codex-skill-library/alertmanager-msteams.
Alertmanager → Microsoft Teams
Scope And Authorization
- In scope: Alertmanager and Teams workspaces your organization owns.
- Out of scope: Posting to Teams webhooks you do not control; using alerts for harassment.
- Store webhook URLs as secrets (they are bearer capabilities).
- Prefer non-prod channel for template experiments.
- Pair config-as-code with
code-quality-standards.
When To Use
- Sending Alertmanager alerts to a Teams channel.
- Migrating from Office 365 Incoming Webhook to Power Automate / Workflows URLs.
- Reducing noise via routes, group_by, inhibit_rules, and severity splits.
- Fixing broken JSON templates or HTTP 4xx from Teams.
Do Not Use As Primary
| Need | Skill instead | |
|---|---|---|
| Prometheus rule quality / promtool | prometheus skills / observability-metrics-tracing | |
| On-call / SLO design broadly | SRE skills in catalog | |
| PagerDuty/Opsgenie primary | those integrations’ runbooks | |
| Implementation quality baseline | code-quality-standards |
Domain Focus
| Piece | Role | |
|---|---|---|
Alertmanager receiver | Named notification target | |
| Webhook | Teams Incoming Webhook or Workflow HTTP URL | |
route tree | Match labels → receiver | |
group_by / intervals | Collapse flapping | |
inhibit_rules | Suppress info when critical fires | |
| Template | Custom title/text/adaptive card JSON |
Note: Microsoft has been evolving connectors; confirm current webhook/workflow mechanism for your tenant.
Workflow
1. Confirm scope and success criteria
- Record Alertmanager version, Teams channel, severities, on-call expectations.
- Success: firing/resolved messages visible; secrets not in git; critical path not dropped; noise acceptable.
- Separate channels:
#alerts-criticalvs#alerts-warnoptional.
2. Create Teams webhook securely
- Create webhook/workflow in the target channel; copy URL once.
- Store in secret manager / sealed secret:
TEAMS_WEBHOOK_URL. - Restrict channel membership; treat URL as password.
3. Configure Alertmanager receiver
Native webhook (simple text):
Sidecar / bridge (common): many teams use prometheus-msteams or similar to convert Alertmanager webhook payloads into Office connector JSON. If used:
4. Template content (keep actionable)
| Field | Guidance | |
|---|---|---|
| Title | alertname + severity | |
| Text | summary/description annotations | |
| Link | generatorURL or runbook annotation | |
| Color | critical red / warning orange if card supports |
Ensure every critical alert has annotations.runbook_url or playbook.
5. Validate config and test
- Confirm message in Teams; then resolve and confirm resolve post if enabled.
- Check Alertmanager UI → Status for notification failures.
6. Noise and reliability
- Tune
group_wait/group_interval/repeat_interval. - Inhibit warning when critical open.
- Silence API access controlled (RBAC/auth in front of AM).
- Monitor
alertmanager_notifications_failed_total.
7. Hand off
- Document channels, secret locations, route diagram.
- Rotate webhook URLs on personnel change or leak.
- Keep alert rules ownership separate from Teams wiring.
Good / Bad
| Topic | Good | Bad | |
|---|---|---|---|
| Secrets | url_file / sealed secret | Webhook URL committed | |
| Routing | Severity split + inhibit | Everything to one firehose | |
| Content | Runbook link | Empty “Alert firing” | |
| Test | amtool in staging | Test on customer channel only | |
| Failures | Metric + dead-letter awareness | Silent drop |
Output Checklist
- [ ] Teams webhook created and stored as secret
- [ ] Receivers/routes/inhibit configured
- [ ] Config validated (
amtool/ check) - [ ] Test fire + resolve observed in channel
- [ ] Grouping/noise settings reviewed
- [ ] Failed notification metrics watched
- [ ] Runbook annotations present on critical rules
- [ ] Rotation/ownership documented
- [ ]
code-quality-standardson config-as-code
Rules
- Owned Alertmanager/Teams only.
- Webhook URLs are secrets — rotate if leaked.
- Prefer actionable, grouped alerts over raw dumps.
- Do not bypass inhibitions “temporarily” without expiry.
- Keep PII out of alert labels/annotations.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingalertmanager-msteams/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/alertmanager-msteams)