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

Switch Notification channel depending on alert threshold (rules) #12614

Closed
tvvignesh opened this issue Jul 16, 2018 · 4 comments
Closed

Switch Notification channel depending on alert threshold (rules) #12614

tvvignesh opened this issue Jul 16, 2018 · 4 comments
Labels
area/alerting Grafana Alerting area/backend stale Issue with no recent activity type/feature-request

Comments

@tvvignesh
Copy link

We have a requirement where:
If a server is down for less than 5 minutes and > 1 minute, email alert is sent
If the server is down for >5 minutes and <10 minutes sms is sent
If the server is down for >10 minutes, call is made to the person via webhook (we are handling the calling stuff)

The problem I find is, while there are ways to define multiple alert rules, I am not able to find a way to specify different channel per alert rule. I have to create a separate graph for that.

While here, the metric of concern is the same graph which is server down time and hence it does not make sense to define 3 separate graphs for that.

Is there any way to achieve this through Grafana or is this planned?

Grafana version: 5.2.1

@torkelo
Copy link
Member

torkelo commented Jul 16, 2018

This escalation stuff is usually handled by a notification service like pagerduty and it's counterparts.

@tvvignesh
Copy link
Author

@torkelo Thanks for the heads up. We wanted to do it all using grafana and hence I asked. Eagerly waiting for this feature.

Copy link
Contributor

This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

@github-actions github-actions bot added the stale Issue with no recent activity label Jan 19, 2024
@armandgrillet
Copy link
Contributor

A stated in an earlier comment, notification services like PagerDuty and OnCall are here to do this routing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/alerting Grafana Alerting area/backend stale Issue with no recent activity type/feature-request
Projects
Archived in project
Development

No branches or pull requests

4 participants