summaryrefslogtreecommitdiff
path: root/docs/system/eventhandler.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/system/eventhandler.rst')
-rw-r--r--docs/system/eventhandler.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/system/eventhandler.rst b/docs/system/eventhandler.rst
index 31f05f2c..6496c556 100644
--- a/docs/system/eventhandler.rst
+++ b/docs/system/eventhandler.rst
@@ -31,7 +31,7 @@ In this small example a script runs every time a login failed and an interface g
.. code-block:: console
- vyos@vyos# show system event-handler
+ vyos@vyos# show system event-handler
feed Syslog {
policy MyPolicy
source {
@@ -43,6 +43,6 @@ In this small example a script runs every time a login failed and an interface g
event BadThingsHappened {
pattern "authentication failure"
pattern "interface \.* index \d+ .* DOWN.*"
- run /config/scripts/email-to-admin
+ run /config/scripts/email-to-admin
}
} \ No newline at end of file