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

Suppress alerts based on blackout rules to support maintenance mode #112

Merged
merged 6 commits into from Sep 9, 2015

Conversation

satterly
Copy link
Member

@satterly satterly commented Sep 7, 2015

An alert that is received during a blackout period is accepted by Alerta and a 202 Accepted status code returned. However, it will not be added to the Alerta database.

Blackout rules can be any of:

  • an entire environment eg. environment=Production
  • a particular resource eg. resource=host55
  • an entire service eg. service=Web
  • every occurrence of a specific event eg. event=DiskFull
  • a group of events eg. group=Syslog
  • a specific event for a resource eg. resource=host55 and event=DiskFull
  • all events that have a specific set of tags eg. tags=[ blackout, london ]

Note: an environment must be defined for a blackout rule.

Requested by #111

@bcwilsondotcom
Copy link
Contributor

👍

satterly added a commit that referenced this pull request Sep 9, 2015
Suppress alerts based on blackout rules to support maintenance mode
@satterly satterly merged commit b1aebb7 into master Sep 9, 2015
@satterly satterly deleted the blackout branch February 22, 2016 11:52
mblancodev pushed a commit to edgeuno/alerta that referenced this pull request Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants