Skip to content

Commit

Permalink
Update alerts summary
Browse files Browse the repository at this point in the history
To use proper labels
  • Loading branch information
7840vz committed Apr 20, 2023
1 parent 097698d commit aef98d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions container/prometheus/ems_alert_rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ groups:
labels:
severity: "error"
annotations:
summary: "Anti-ransomware state was changed to [{{ $labels.op }}] for Volume uuid [{{ $labels.volumeuuid }}]."
summary: "Anti-ransomware state was changed to [{{ $labels.op }}] for Volume uuid [{{ $labels.volume_uuid }}]."

# Alert for SVM Anti-ransomware state change ems
- alert: Storage VM Anti-ransomware Monitoring State Changed
Expand Down Expand Up @@ -402,7 +402,7 @@ groups:
labels:
severity: "error"
annotations:
summary: "Storage VM stop succeeded for instance uuid [{{ $labels.instuuid }}]"
summary: "Storage VM stop succeeded for instance uuid [{{ $labels.inst_uuid }}]"

# Alert for READDIR timeout ems
- alert: READDIR Timeout
Expand All @@ -426,12 +426,12 @@ groups:
labels:
severity: "error"
annotations:
summary: "Volume offline for instance uuid [{{ $labels.instuuid }}]"
summary: "Volume offline for instance uuid [{{ $labels.inst_uuid }}]"

# Alert for Volume restricted ems
- alert: Volume Restricted
expr: last_over_time(ems_events{message="wafl.vvol.restrict"}[4w]) == 1
labels:
severity: "error"
annotations:
summary: "Volume restricted for instance uuid [{{ $labels.instuuid }}]"
summary: "Volume restricted for instance uuid [{{ $labels.inst_uuid }}]"

0 comments on commit aef98d2

Please sign in to comment.