Bird
0
0

Given this Alertmanager config snippet:

medium📝 Troubleshoot Q6 of 15
Kubernetes - Monitoring and Logging
Given this Alertmanager config snippet:
receivers:
- name: 'ops-team'
  email_configs:
  - to: 'ops@example.com'
routes:
- receiver: 'ops-team'
  match:
    severity: critical
Why are alerts with severity=warning not delivered to any receiver?
ABecause the receiver name 'ops-team' is invalid.
BBecause email_configs is misconfigured and blocks warnings.
CBecause Alertmanager does not support severity=warning by default.
DBecause the route only matches alerts with severity=critical, so warnings are unmatched.
Step-by-Step Solution
Solution:
  1. Step 1: Analyze route matching

    The route matches only alerts with label severity: critical.
  2. Step 2: Consider unmatched alerts

    Alerts with severity=warning do not match this route and have no fallback route defined.
  3. Final Answer:

    Because the route only matches alerts with severity=critical, so warnings are unmatched. -> Option D
  4. Quick Check:

    Routes filter alerts by labels; unmatched alerts have no receiver [OK]
Quick Trick: Routes match labels strictly; unmatched alerts are dropped [OK]
Common Mistakes:
  • Assuming email_configs affect alert matching
  • Believing Alertmanager supports all severities by default
  • Thinking receiver names affect alert delivery

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes