summaryrefslogtreecommitdiffstats
path: root/docs/aoa/folders.rst
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2019-06-12 23:14:21 +0200
committernicolargo <nicolas@nicolargo.com>2019-06-12 23:14:21 +0200
commit1d1a6d9922395f73b2034bd78222524546dfe363 (patch)
treec8b8664db84eb7a3d261bb7b76e0cee4604322dc /docs/aoa/folders.rst
parentbdd557437a238140f09810a2438f138d63b04623 (diff)
Performance issue with large folder #1491
Diffstat (limited to 'docs/aoa/folders.rst')
-rw-r--r--docs/aoa/folders.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/aoa/folders.rst b/docs/aoa/folders.rst
index af42efe3..08db2d5c 100644
--- a/docs/aoa/folders.rst
+++ b/docs/aoa/folders.rst
@@ -17,11 +17,12 @@ Each item is defined by:
- ``careful``: optional careful threshold (in MB)
- ``warning``: optional warning threshold (in MB)
- ``critical``: optional critical threshold (in MB)
+- ``refresh``: interval in second between two refresh (default is 30 seconds)
Up to ``10`` items can be defined.
-For example, if you want to monitor the ``/tmp`` folder, the following
-definition should do the job:
+For example, if you want to monitor the ``/tmp`` folder every minute,
+the following definition should do the job:
.. code-block:: ini
@@ -30,8 +31,10 @@ definition should do the job:
folder_1_careful=2500
folder_1_warning=3000
folder_1_critical=3500
+ folder_1_refresh=60
In client/server mode, the list is defined on the ``server`` side.
.. warning::
- Do **NOT** define folders containing lot of files and subfolders.
+ Do **NOT** define folders containing lot of files and subfolders or use an
+ huge refresh time...