summaryrefslogtreecommitdiffstats
path: root/docs/aoa/events.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/aoa/events.rst')
-rw-r--r--docs/aoa/events.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/aoa/events.rst b/docs/aoa/events.rst
index 88aa88fe..85e3d753 100644
--- a/docs/aoa/events.rst
+++ b/docs/aoa/events.rst
@@ -18,3 +18,20 @@ Each event message displays the following information:
3. alert name
4. {min,avg,max} values or number of running processes for monitored
processes list alerts
+
+The configuration should be done in the ``[alert]`` section of the
+Glances configuration file:
+
+.. code-block:: ini
+
+ [alert]
+ disable=False
+ # Maximum number of events to display (default is 10 events)
+ max_events=10
+ # Minimum duration for an event to be taken into account (default is 6 seconds)
+ min_duration=6
+ # Minimum time between two events of the same type (default is 6 seconds)
+ # This is used to avoid too many alerts for the same event
+ # Events will be merged
+ min_interval=6
+