Discussion:
[influxdb] Is it possible to create alert in Kapacitor based on number of hosts reporting to particular metric
p***@gmail.com
2018-04-19 09:39:58 UTC
Permalink
Hi,

What I'm trying to do is get alerts if number of reporting hosts drops below expected values, i.e. if I monitor Elastic cluster and I expect it to have 4 nodes (all of them report metrics using telegraf), I would like to be notified if number of them drops below 4, which would mean that one (or more) of the nodes died. This is something I was able to do using collectd+graphite+grafana stack, but I'm looking into ways of transitioning to Telegraf + InfluxDB + Kapacitor.

Additionally, I would like to be able to track these changes in time, so also a way of using it in dashboard would be appreciated.

Thanks!
Peter
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/02dbeeaa-d63f-45ee-b3b7-67f37d1b6182%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
p***@gmail.com
2018-04-19 09:42:44 UTC
Permalink
Quick update: I already tried to use "SHOW TAG VALUES [FROM <measurement_name>] WITH KEY = <tag_key>" and didn't figure out how to use it in "SELECT" query... :/
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/619724f1-5a4b-427b-adca-61566a65d3ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...