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

Displaying open alert count #141

Closed
bobtatus opened this issue Jan 11, 2016 · 22 comments
Closed

Displaying open alert count #141

bobtatus opened this issue Jan 11, 2016 · 22 comments

Comments

@bobtatus
Copy link

Hi, from my research there is currently no way to display the number of total active alerts in Zabbix in Grafana, is this something that could be added?

When viewing Monitoring > Dashboard in Zabbix we can see counts of all alerts for various host groups.

Could we please have a way of displaying any open alerts in Grafana? The data is there in Zabbix but I can't see any way of showing the count of open alerts in Grafana via the grafana-zabbix plugin. The closest I can get is showing the zabbix queue but that isn't the same as open issues.

Thanks for your time.

@alexanderzobnin
Copy link
Collaborator

Hi, @bobtatus ! Really, this is not able now. But with new Table panel in Grafana it would be nice to have this metrics. I will try to implement it in version 3.0.

@bobtatus
Copy link
Author

Thanks :) any ETA for when version 3.0 may be released?

@xiaoping378
Copy link

singlestat + alertCount
👍

@Sutrannu
Copy link

You can collect the number of alerts with an external check, e.g. from the zabbix api, store it in a "meta" host and display the metric with Grafana. This also allows you to graph alerts over time.

@sebbe54
Copy link

sebbe54 commented Sep 12, 2016

When can we expect this to be solved?

@alexanderzobnin
Copy link
Collaborator

@sebbe54 Not sure, sorry - have a lot of tasks.

@cooperspencer
Copy link

@alexanderzobnin the zabbix plugin is awesome as hell. How is it going with the alerting? It would be a great feature.

@alexanderzobnin
Copy link
Collaborator

@cooperspencer work is in progress, see #304, you can test latest changes with alerting from master branch.

@cooperspencer
Copy link

@alexanderzobnin Thank you. I will try it asap.

@alexanderzobnin
Copy link
Collaborator

There're two modes for triggers. First - alert count, filtered by group, host, app and severity. Second - table like system status in Zabbix.

screenshot from 2017-10-22 18 59 04

@fpaternot-zz
Copy link

Can we filter with and without acknowledgement, and last event as well?

@alexanderzobnin
Copy link
Collaborator

@fpaternot I think yes, it's a good idea. I'll try to implement this before release. Can you describe last event case?

@fpaternot-zz
Copy link

fpaternot-zz commented Oct 23, 2017

Sure @alexanderzobnin, the last event i believe is called "Age less than" in Monitoring => Triggers page. In trigger.get api method, the params are lastChangeSince and lastChangeTill.

Our use cases:

  • performance: limiting the lastChangeSince for two days gives us 2-5 seconds, way better than 60-70seconds if parameter not used
  • we use the unit of time as days
  • we only use one of them in each call: either lastChangeSince or lastChangeTill params. We didnt need (yet?) to mix them in the same call.
  • we also filter if trigger is or is not acknowledged, and sometimes it dosen't matter. This helps providing a view for past events (acknowledged) and new events (unacknowledged)

@alexanderzobnin
Copy link
Collaborator

@fpaternot I use dashboard time range for filtering by last change time, so you can set either dashboard or panel time range.

@alexanderzobnin
Copy link
Collaborator

Closed by 1f5e261 but we still can discuss some details here.

@pronichev
Copy link

pronichev commented Oct 27, 2017

Hi, thank you for the feature.
In 3.7.0, active triggers are filtered by the time range.
Can you add an option to show all active triggers without limiting their time of occurrence?

@alexanderzobnin
Copy link
Collaborator

alexanderzobnin commented Oct 27, 2017

@pronichev you can increase time range by using panel's override:

screenshot from 2017-10-27 13 56 52
Set it, for example to 1 year.

@pronichev
Copy link

Thanks for hint

@paalmiso
Copy link

I would like to ask if I can somehow filter triggers not only using min_severity:# but also using max_serverity:#
Our usecase is to have big single stat for each of top 3 severities.

@rafaelmendonca
Copy link

+1

"I would like to ask if I can somehow filter triggers not only using min_severity:# but also using max_serverity:#
Our usecase is to have big single stat for each of top 3 severities."

This will be very useful, its my requirement to delivery the project as well.

Thank you

@eugene1-github
Copy link

eugene1-github commented Oct 19, 2018

+1

I would like to ask if I can somehow filter triggers not only using min_severity:# but also using max_serverity:#
Our usecase is to have big single stat for each of top 3 severities.

@alexanderzobnin
Copy link
Collaborator

@paalmiso @rafaelmendonca @eugene1-github please, open a new issue for this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests