Slaves alarms can be disable, no alarms from master
This commit is contained in:
parent
ded78c8625
commit
145484b38d
|
@ -10,3 +10,4 @@
|
||||||
* Manage memory mode.
|
* Manage memory mode.
|
||||||
* Define some vars to manage master and slaves configuration.
|
* Define some vars to manage master and slaves configuration.
|
||||||
* Combine 4 vars to generate Netdata configuration.
|
* Combine 4 vars to generate Netdata configuration.
|
||||||
|
* Slaves alarms can be disable, the master will not send alarms.
|
||||||
|
|
|
@ -36,6 +36,7 @@ A role to manage Netdata installation and configuration.
|
||||||
* **netdata__master_api_key** : The API key to authenticate slaves [default : `''`].
|
* **netdata__master_api_key** : The API key to authenticate slaves [default : `''`].
|
||||||
* **netdata__master_history** : The number of entries in the database per hosts [default : `3600`].
|
* **netdata__master_history** : The number of entries in the database per hosts [default : `3600`].
|
||||||
* **netdata__master_memory_mode** : The memory mode to be used for all hosts using this API key [default : `ram`].
|
* **netdata__master_memory_mode** : The memory mode to be used for all hosts using this API key [default : `ram`].
|
||||||
|
* **netdata__master_health_alarm** : Shall the master send alarms for hosts using the API key [default : `auto`].
|
||||||
|
|
||||||
## Example Playbook
|
## Example Playbook
|
||||||
|
|
||||||
|
|
|
@ -188,7 +188,6 @@ netdata__slave_reconnect: '5'
|
||||||
#
|
#
|
||||||
# If node should receive metrics from other nodes. Possible options :
|
# If node should receive metrics from other nodes. Possible options :
|
||||||
#
|
#
|
||||||
#
|
|
||||||
# ``False``
|
# ``False``
|
||||||
# Default.
|
# Default.
|
||||||
#
|
#
|
||||||
|
@ -219,5 +218,20 @@ netdata__master_history: '3600'
|
||||||
netdata__master_memory_mode: 'ram'
|
netdata__master_memory_mode: 'ram'
|
||||||
|
|
||||||
# ]]]
|
# ]]]
|
||||||
|
# .. envvar:: netdata__master_health_alarm [[[.
|
||||||
|
#
|
||||||
|
# Shall the master send alarms for hosts using the API key. Possible options :
|
||||||
|
#
|
||||||
|
# ``auto``
|
||||||
|
# Default. Enable alarms, only when the sending Netdata is connected.
|
||||||
|
#
|
||||||
|
# ``yes``
|
||||||
|
# Enable alarms.
|
||||||
|
#
|
||||||
|
# ``no``
|
||||||
|
# Do not enable alarms
|
||||||
|
netdata__master_health_alarm: 'auto'
|
||||||
|
|
||||||
|
# ]]]
|
||||||
|
|
||||||
# ]]]
|
# ]]]
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
# auto enable alarms, only when the sending netdata is connected
|
# auto enable alarms, only when the sending netdata is connected
|
||||||
# You can also set it per host, below.
|
# You can also set it per host, below.
|
||||||
# The default is the same as to netdata.conf
|
# The default is the same as to netdata.conf
|
||||||
health enabled by default = auto
|
health enabled by default = {{ netdata__master_health_alarm }}
|
||||||
|
|
||||||
# postpone alarms for a short period after the sender is connected
|
# postpone alarms for a short period after the sender is connected
|
||||||
default postpone alarms on connect seconds = 60
|
default postpone alarms on connect seconds = 60
|
||||||
|
|
Loading…
Reference in New Issue