Inhibition rule does not suppress target alerts
AdvancedTroubleshootingAlerting and Alertmanager
Answer
Likely causes → The equal: labels are missing on one side (e.g. cluster exists on the source but not the target), or the source alert is not firing in the same Alertmanager.
Diagnose → Compare label sets of the source and target alerts in the UI.
Fix →
inhibit_rules:
- source_matchers: [alertname="NodeDown"]
target_matchers: [severity=~"warning|critical"]
equal: [cluster, node]
Ensure both alerts carry cluster and node.
Prevent → Add consistent external labels and test inhibition with synthetic alerts via amtool alert add.
More on Alerting and Alertmanager
An alert shows `Pending` in Prometheus but never goes to `Firing`BeginnerAn alert is `Firing` in Prometheus but nothing reaches AlertmanagerIntermediateAlertmanager shows the alert but Slack receives nothingBeginnerAlertmanager logs `notify retry canceled due to unrecoverable error after 1 attempts: channel_not_found`IntermediateAlertmanager logs `unexpected status code 404: no_service` / `invalid_token` for SlackBeginnerAlertmanager fails to load config: `yaml: unmarshal errors: field matchers not found in type config.plain`Intermediate