diff options
author | nicolargo <nicolas@nicolargo.com> | 2017-04-10 18:38:23 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2017-04-10 18:38:23 +0200 |
commit | 6d0fe0f708bc54ae836e64bd346dc649f84acee6 (patch) | |
tree | ba8904f65c1c075300cd04788c89053d67d49862 /docs/aoa | |
parent | e9260c3d6f7791d124bfbf657a66ecb5e3e16659 (diff) |
Add new repeat function to the action (issue #952)
Diffstat (limited to 'docs/aoa')
-rw-r--r-- | docs/aoa/actions.rst | 10 |
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/ |