summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-08-17 18:25:24 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:27 -0500
commit6bb22520fdaa24059d4d84d0ab951b2dc44b5128 (patch)
tree6d2aed772a2432497f1bb26a76eeb4ccccc94351 /templates
parentb1c37ed9fe0e2cfac2ac46d757c6037c1c5436c2 (diff)
downloadvyatta-op-6bb22520fdaa24059d4d84d0ab951b2dc44b5128.tar.gz
vyatta-op-6bb22520fdaa24059d4d84d0ab951b2dc44b5128.zip
Add monitor command for traceroutes using mtr
(cherry picked from commit 68e7a415d5ff5ebc2aa7569c01aa69d1a0d5e27a)
Diffstat (limited to 'templates')
-rw-r--r--templates/monitor/traceroute/node.def1
-rw-r--r--templates/monitor/traceroute/node.tag/node.def3
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/monitor/traceroute/node.def b/templates/monitor/traceroute/node.def
new file mode 100644
index 0000000..f07e6b3
--- /dev/null
+++ b/templates/monitor/traceroute/node.def
@@ -0,0 +1 @@
+help: Monitor the path to a destination in realtime
diff --git a/templates/monitor/traceroute/node.tag/node.def b/templates/monitor/traceroute/node.tag/node.def
new file mode 100644
index 0000000..8c522de
--- /dev/null
+++ b/templates/monitor/traceroute/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Monitor the path to a destination in realtime
+allowed: echo '<hostname> <x.x.x.x> <h:h:h:h:h:h:h:h>'
+run: mtr $3