@@ -213,6 +213,20 @@ command is used to collect these metrics.
213213You may choose to disable auto creation of this check by setting
214214`OPENWISP_MONITORING_AUTO_PING <#OPENWISP_MONITORING_AUTO_PING >`_ to ``False ``.
215215
216+ ``Configuration applied ``
217+ ~~~~~~~~~~~~~~~~~~~~~~~~~
218+
219+ This check ensures that the `openwisp-config agent <https://github.com/openwisp/openwisp-config/ >`_
220+ is running and applying configuration changes in a timely manner.
221+
222+ By default, if a configuration object stays in the ``modified `` state
223+ for more than 5 minutes (configurable via
224+ `OPENWISP_MONITORING_DEVICE_CONFIG_CHECK_MAX_TIME <#OPENWISP_MONITORING_DEVICE_CONFIG_CHECK_MAX_TIME >`_),
225+ the check will fail and set the health status of the device to ``PROBLEM ``.
226+
227+ You may choose to disable auto creation of this check by using the
228+ setting `OPENWISP_MONITORING_AUTO_DEVICE_CONFIG_CHECK <#OPENWISP_MONITORING_AUTO_DEVICE_CONFIG_CHECK >`_.
229+
216230Settings
217231--------
218232
@@ -242,6 +256,33 @@ in terms of disk space.
242256
243257Whether ping checks are created automatically for devices.
244258
259+ ``OPENWISP_MONITORING_AUTO_DEVICE_CONFIG_CHECK ``
260+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261+
262+ +--------------+-------------+
263+ | **type **: | ``bool `` |
264+ +--------------+-------------+
265+ | **default **: | ``True `` |
266+ +--------------+-------------+
267+
268+ This setting allows you to choose whether `config_applied <#configuration-applied >`_ checks should be
269+ created automatically for newly registered devices. It's enabled by default.
270+
271+ ``OPENWISP_MONITORING_DEVICE_CONFIG_CHECK_MAX_TIME ``
272+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273+
274+ +--------------+-----------+
275+ | **type **: | ``int `` |
276+ +--------------+-----------+
277+ | **default **: | ``5 `` |
278+ +--------------+-----------+
279+
280+ Defines the maximum amount of minutes the device configuration can stay in the *modified *
281+ state before its health status is changed to ``PROBLEM `` and an alert is sent.
282+
283+ **Note **: The setting will be ignored if ``OPENWISP_MONITORING_AUTO_DEVICE_CONFIG_CHECK ``
284+ is ``False ``.
285+
245286``OPENWISP_MONITORING_AUTO_CHARTS ``
246287~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247288
0 commit comments