diff options
author | nicolargo <nicolas@nicolargo.com> | 2024-03-16 17:00:16 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2024-03-16 17:00:16 +0100 |
commit | 6508acaba73fbfd61ed471e1204a23c028a3f9fd (patch) | |
tree | dbcdd8f28fd8a393e441f9b5c5b452ac8d84ed22 /docs/aoa | |
parent | 0080c61eac898345062110b29ed1e678af056ac5 (diff) |
Improve alert with mininimal interval/duration configuration keys #2558
Diffstat (limited to 'docs/aoa')
-rw-r--r-- | docs/aoa/events.rst | 17 |
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 + |