Created
July 27, 2018 14:45
-
-
Save gianrubio/08f58c0452a1cc283e385b2daacc7298 to your computer and use it in GitHub Desktop.
beer time
This file contains hidden or 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
groups: | |
- name: beertime.rules | |
rules: | |
- alert: BEERTIME | |
expr: IF (day_of_week() == 5) and ( hour() >= 16 and hour() <= 16 ) | |
for: 5m | |
labels: | |
service: "beer" | |
severity: "critical" | |
annotations: | |
summary: "It's Beer time!!" |
Author
gianrubio
commented
Jul 27, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment