Skip to content

Commit

Permalink
rule_config.yml.j2: define a set of inhibit rules for a new severity …
Browse files Browse the repository at this point in the history
…semantics

Following the same change in the 'severity' semantics we also need to
define a corresponding sent of inhibit rules.

Signed-off-by: Vlad Zolotarov <[email protected]>
  • Loading branch information
vladzcloudius committed Oct 26, 2023
1 parent c367ce9 commit 1c1c3c7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ansible-scylla-monitoring/templates/rule_config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,24 @@ inhibit_rules:
severity: "2"
target_match:
severity: "1"
- equal:
- alertname
source_match:
severity: "critical"
target_match:
severity: "error"
- equal:
- alertname
source_match:
severity: "error"
target_match:
severity: "warn"
- equal:
- alertname
source_match:
severity: "warn"
target_match:
severity: "info"
receivers:
- name: team-X-mails-regular
email_configs:
Expand Down

0 comments on commit 1c1c3c7

Please sign in to comment.