-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
ALERT DomainExpiring | ||
IF domain_expiry_days < 30 | ||
FOR 1h | ||
LABELS { | ||
severity = "warning", | ||
} | ||
ANNOTATIONS { | ||
description = "Domain {{ $labels.domain }} will expire in less than 30 days", | ||
summary = "{{ $labels.domain }}: domain is expiring", | ||
} | ||
|
||
ALERT DomainExpiring | ||
IF domain_expiry_days < 5 | ||
FOR 1h | ||
LABELS { | ||
severity = "page", | ||
} | ||
ANNOTATIONS { | ||
description = "Domain {{ $labels.domain }} will expire in less than 5 days", | ||
summary = "{{ $labels.domain }}: domain is expiring", | ||
} |