summaryrefslogtreecommitdiffstats
path: root/docs/aoa/actions.rst
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2017-04-10 18:38:23 +0200
committernicolargo <nicolas@nicolargo.com>2017-04-10 18:38:23 +0200
commit6d0fe0f708bc54ae836e64bd346dc649f84acee6 (patch)
treeba8904f65c1c075300cd04788c89053d67d49862 /docs/aoa/actions.rst
parente9260c3d6f7791d124bfbf657a66ecb5e3e16659 (diff)
Add new repeat function to the action (issue #952)
Diffstat (limited to 'docs/aoa/actions.rst')
-rw-r--r--docs/aoa/actions.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/aoa/actions.rst b/docs/aoa/actions.rst
index 5ce40bcd..b83f1737 100644
--- a/docs/aoa/actions.rst
+++ b/docs/aoa/actions.rst
@@ -31,4 +31,14 @@ reached:
https://github.com/nicolargo/glances/wiki/The-Glances-2.x-API-How-to
for the stats list.
+It is also possible to repeat action until the end of the alert.
+Keep in mind that the command line is executed every refresh time so
+use with caution:
+
+.. code-block:: ini
+
+ [load]
+ critical=5.0
+ critical_action_repeat=/home/myhome/bin/bipper.sh
+
.. _{{mustache}}: https://mustache.github.io/