alertmanager_list_alerts
List Alertmanager alerts with suppression state to understand why alerts are silenced, inhibited, or active.
Instructions
List alerts from Alertmanager with suppression state.
Wraps GET /api/v2/alerts. Returns alerts with their status
(active/suppressed/unprocessed), silence IDs, and inhibition IDs.
Unlike prometheus_list_alerts, this shows WHY an alert is or
isn't firing — suppressed alerts include silencedBy and
inhibitedBy arrays.
Examples:
- Use when: "Why isn't the HighCPU alert firing?"
→ check if it's suppressed (silencedBy or inhibitedBy).
- Use when: "Show all suppressed alerts"
→ filter by status.state == 'suppressed'.
- Don't use when: You want Prometheus-side alert state
(call prometheus_list_alerts).
Returns:
dict with total_count / active_count / suppressed_count /
unprocessed_count / alerts (list with status, silencedBy, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alerts | Yes | ||
| total_count | Yes | ||
| active_count | Yes | ||
| suppressed_count | Yes | ||
| unprocessed_count | Yes |