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-08-17 18:25:24 -0500
commit68e7a415d5ff5ebc2aa7569c01aa69d1a0d5e27a (patch)
tree979ca97378113ae20f917446734f1c0846cd802b /templates
parentfd8ca960d8a490d52ef4360f0451473eae94bf54 (diff)
downloadvyatta-op-68e7a415d5ff5ebc2aa7569c01aa69d1a0d5e27a.tar.gz
vyatta-op-68e7a415d5ff5ebc2aa7569c01aa69d1a0d5e27a.zip
Add monitor command for traceroutes using mtr
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