Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update alerts summary #1967

Merged
merged 1 commit into from
Apr 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}]"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

svm_uuid?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the original message is related to instance uuid, and I received actual messages from EMS where it is inst_uuid not instuuid. So unsure if svm_uuid is related to this template.


# 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 }}]"