# InfluxDbWriter enable\_ha, masters and satellites

**URL:** <https://community.icinga.com/t/influxdbwriter-enable-ha-masters-and-satellites/10263>\
**Category:** Icinga 2\
**Tags:** grafana, influxdb, icinga2\
**Created:** [July 28, 2022, 11:33am UTC](https://community.icinga.com/t/influxdbwriter-enable-ha-masters-and-satellites/10263 "2022-07-28T11:33:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![danjford](https://community.icinga.com/user_avatar/community.icinga.com/danjford/32/5336_2.png) [@danjford](https://community.icinga.com/u/danjford)\
**Post date:** [July 28, 2022, 11:33am UTC](https://community.icinga.com/t/influxdbwriter-enable-ha-masters-and-satellites/10263/1 "2022-07-28T11:33:28Z")

</div>

Hi,

Does anyone know if in a cluster/distributed setup, does the influxdb feature need to be set up on all masters and all satellites with enable\_ha set to true?

Or is the influxdb feature only required on the masters to process all data to influx?

Thanks!

---

<div class="post-metadata">

**Author:** ![danjford](https://community.icinga.com/user_avatar/community.icinga.com/danjford/32/5336_2.png) [@danjford](https://community.icinga.com/u/danjford)\
**Post date:** [July 28, 2022, 4:39pm UTC](https://community.icinga.com/t/influxdbwriter-enable-ha-masters-and-satellites/10263/2 "2022-07-28T16:39:00Z")

</div>

Before it looked like it was working by all of the satellites would process their results, and the masters would send the data to influx.

But for some reason that stopped working and now it looks like each satellite needs to have the feature enabled and each satellite is responsible for sending the data to influx, is this right?

---

<div class="post-metadata">

**Author:** ![Al2Klimov](https://community.icinga.com/user_avatar/community.icinga.com/al2klimov/32/959_2.png) [@Al2Klimov](https://community.icinga.com/u/Al2Klimov)\
**Post date:** [August 1, 2022, 9:17am UTC](https://community.icinga.com/t/influxdbwriter-enable-ha-masters-and-satellites/10263/3 "2022-08-01T09:17:43Z")

</div>

Hello @danjford!

AFAIK you only have to enable it on the masters. Either on one with enable\_ha=false or on both with enable\_ha=true.

Best,  
A/K

---

<div class="post-metadata">

**Author:** ![danjford](https://community.icinga.com/user_avatar/community.icinga.com/danjford/32/5336_2.png) [@danjford](https://community.icinga.com/u/danjford)\
**Post date:** [August 2, 2022, 7:42am UTC](https://community.icinga.com/t/influxdbwriter-enable-ha-masters-and-satellites/10263/4 "2022-08-02T07:42:18Z")

</div>

Thanks @Al2Klimov, I originally had it set up on one master with enable\_ha=false but then it stopped sending data to Influx and I could only seem to get it working by setting it up on all satellites and masters as well so I set enable\_ha=true.

Any idea what could cause it to change like that?

Ideally the end set up I probably want is it just being on both masters for resiliency with enable\_ha=true. Having it on all satellites seems a bit excessive!

---

<div class="post-metadata">

**Author:** ![Al2Klimov](https://community.icinga.com/user_avatar/community.icinga.com/al2klimov/32/959_2.png) [@Al2Klimov](https://community.icinga.com/u/Al2Klimov)\
**Post date:** [August 2, 2022, 8:46am UTC](https://community.icinga.com/t/influxdbwriter-enable-ha-masters-and-satellites/10263/5 "2022-08-02T08:46:58Z")

</div>

No idea, but HA is better anyway.
