influxdata/influxdb-relay

InfluxDB HA Subscriptions for Kapacitor

allen13 opened this issue · 1 comments

I am currently integrating kapacitor into my alerting system and wanted to address HA concerns related to subscriptions. Currently the only way to reliably do this is to have a subscription on each InfluxdDB server, which unfortunately doubles data and alerts. InfluxDB relay is in a unique position where it could be in charge of distributing the subscriptions itself since that is what is it basically already doing with the multiple InfluxDB databases.

With the new http kapacitor endpoints you can just treat kapacitors as just another InfluxDB database, which seems like the best solution so far. Are there any other recommendations for official HA solutions for kapacitor?

With the new http kapacitor endpoints you can just treat kapacitors as just another InfluxDB database, which seems like the best solution so far.

This is what we recommend. Disable subscriptions in Kapacitor and add it as a backend to the influxdb-relay. Here is an example conf https://github.com/influxdata/influxdb-relay/blob/master/kapacitor.toml