summaryrefslogtreecommitdiff
path: root/templates/monitor
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-09-14 13:03:08 -0700
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:29 -0500
commit5abab7cc94b1eb8784a34c5efd0a1a685979630d (patch)
tree3efeba79c3df79bd82bf3a57a6dd47578c7b3f47 /templates/monitor
parent083fc448c6c9d0af337731e6ab39e0bab0e2ed25 (diff)
downloadvyatta-op-5abab7cc94b1eb8784a34c5efd0a1a685979630d.tar.gz
vyatta-op-5abab7cc94b1eb8784a34c5efd0a1a685979630d.zip
Move packet capture to 'monitor interfaces'
(cherry picked from commit bc6ffc5d3503af09c65a58f7d5907562d3fef944)
Diffstat (limited to 'templates/monitor')
-rw-r--r--templates/monitor/interfaces/bonding/node.def1
-rw-r--r--templates/monitor/interfaces/bonding/node.tag/node.def1
-rw-r--r--templates/monitor/interfaces/bonding/node.tag/traffic/node.def2
-rw-r--r--templates/monitor/interfaces/bonding/node.tag/vif/node.def1
-rw-r--r--templates/monitor/interfaces/bonding/node.tag/vif/node.tag/node.def1
-rw-r--r--templates/monitor/interfaces/bonding/node.tag/vif/node.tag/traffic/node.def2
-rw-r--r--templates/monitor/interfaces/bridge/node.def1
-rw-r--r--templates/monitor/interfaces/bridge/node.tag/node.def1
-rw-r--r--templates/monitor/interfaces/bridge/node.tag/traffic/node.def2
-rw-r--r--templates/monitor/interfaces/ethernet/node.def1
-rw-r--r--templates/monitor/interfaces/ethernet/node.tag/node.def1
-rw-r--r--templates/monitor/interfaces/ethernet/node.tag/traffic/node.def2
-rw-r--r--templates/monitor/interfaces/ethernet/node.tag/vif/node.def1
-rw-r--r--templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/node.def1
-rw-r--r--templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/node.def2
-rw-r--r--templates/monitor/interfaces/loopback/node.def1
-rw-r--r--templates/monitor/interfaces/loopback/node.tag/node.def1
-rw-r--r--templates/monitor/interfaces/loopback/node.tag/traffic/node.def2
-rw-r--r--templates/monitor/interfaces/node.def (renamed from templates/monitor/interface/node.def)0
-rw-r--r--templates/monitor/interfaces/pseudo-ethernet/node.def1
-rw-r--r--templates/monitor/interfaces/pseudo-ethernet/node.tag/node.def1
-rw-r--r--templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/node.def2
-rw-r--r--templates/monitor/interfaces/tunnel/node.def1
-rw-r--r--templates/monitor/interfaces/tunnel/node.tag/node.def1
-rw-r--r--templates/monitor/interfaces/tunnel/node.tag/traffic/node.def2
25 files changed, 32 insertions, 0 deletions
diff --git a/templates/monitor/interfaces/bonding/node.def b/templates/monitor/interfaces/bonding/node.def
new file mode 100644
index 0000000..16f3822
--- /dev/null
+++ b/templates/monitor/interfaces/bonding/node.def
@@ -0,0 +1 @@
+help: Monitor a bonding interface
diff --git a/templates/monitor/interfaces/bonding/node.tag/node.def b/templates/monitor/interfaces/bonding/node.tag/node.def
new file mode 100644
index 0000000..61ad641
--- /dev/null
+++ b/templates/monitor/interfaces/bonding/node.tag/node.def
@@ -0,0 +1 @@
+help: Monitor a specified bonding interface
diff --git a/templates/monitor/interfaces/bonding/node.tag/traffic/node.def b/templates/monitor/interfaces/bonding/node.tag/traffic/node.def
new file mode 100644
index 0000000..e186876
--- /dev/null
+++ b/templates/monitor/interfaces/bonding/node.tag/traffic/node.def
@@ -0,0 +1,2 @@
+help: Monitor captured traffic on specified bonding interface
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4"
diff --git a/templates/monitor/interfaces/bonding/node.tag/vif/node.def b/templates/monitor/interfaces/bonding/node.tag/vif/node.def
new file mode 100644
index 0000000..67db353
--- /dev/null
+++ b/templates/monitor/interfaces/bonding/node.tag/vif/node.def
@@ -0,0 +1 @@
+help: Monitor a vif
diff --git a/templates/monitor/interfaces/bonding/node.tag/vif/node.tag/node.def b/templates/monitor/interfaces/bonding/node.tag/vif/node.tag/node.def
new file mode 100644
index 0000000..04350fb
--- /dev/null
+++ b/templates/monitor/interfaces/bonding/node.tag/vif/node.tag/node.def
@@ -0,0 +1 @@
+help: Monitor a specified vif
diff --git a/templates/monitor/interfaces/bonding/node.tag/vif/node.tag/traffic/node.def b/templates/monitor/interfaces/bonding/node.tag/vif/node.tag/traffic/node.def
new file mode 100644
index 0000000..1237372
--- /dev/null
+++ b/templates/monitor/interfaces/bonding/node.tag/vif/node.tag/traffic/node.def
@@ -0,0 +1,2 @@
+help: Monitor captured traffic on specified bonding virtual interface
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6"
diff --git a/templates/monitor/interfaces/bridge/node.def b/templates/monitor/interfaces/bridge/node.def
new file mode 100644
index 0000000..347c0f2
--- /dev/null
+++ b/templates/monitor/interfaces/bridge/node.def
@@ -0,0 +1 @@
+help: Monitor a bridge interface
diff --git a/templates/monitor/interfaces/bridge/node.tag/node.def b/templates/monitor/interfaces/bridge/node.tag/node.def
new file mode 100644
index 0000000..8f86b7c
--- /dev/null
+++ b/templates/monitor/interfaces/bridge/node.tag/node.def
@@ -0,0 +1 @@
+help: Monitor a specified bridge interface
diff --git a/templates/monitor/interfaces/bridge/node.tag/traffic/node.def b/templates/monitor/interfaces/bridge/node.tag/traffic/node.def
new file mode 100644
index 0000000..db42c6d
--- /dev/null
+++ b/templates/monitor/interfaces/bridge/node.tag/traffic/node.def
@@ -0,0 +1,2 @@
+help: Monitor captured traffic on specified bridge interface
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4"
diff --git a/templates/monitor/interfaces/ethernet/node.def b/templates/monitor/interfaces/ethernet/node.def
new file mode 100644
index 0000000..d720c00
--- /dev/null
+++ b/templates/monitor/interfaces/ethernet/node.def
@@ -0,0 +1 @@
+help: Monitor a ethernet interface
diff --git a/templates/monitor/interfaces/ethernet/node.tag/node.def b/templates/monitor/interfaces/ethernet/node.tag/node.def
new file mode 100644
index 0000000..23616b5
--- /dev/null
+++ b/templates/monitor/interfaces/ethernet/node.tag/node.def
@@ -0,0 +1 @@
+help: Monitor a specified ethernet interface
diff --git a/templates/monitor/interfaces/ethernet/node.tag/traffic/node.def b/templates/monitor/interfaces/ethernet/node.tag/traffic/node.def
new file mode 100644
index 0000000..359330f
--- /dev/null
+++ b/templates/monitor/interfaces/ethernet/node.tag/traffic/node.def
@@ -0,0 +1,2 @@
+help: Monitor captured traffic on specified ethernet interface
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4"
diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.def
new file mode 100644
index 0000000..67db353
--- /dev/null
+++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.def
@@ -0,0 +1 @@
+help: Monitor a vif
diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/node.def
new file mode 100644
index 0000000..9169460
--- /dev/null
+++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/node.def
@@ -0,0 +1 @@
+help: Monitor the specified vif
diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/node.def
new file mode 100644
index 0000000..51182b2
--- /dev/null
+++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/node.def
@@ -0,0 +1,2 @@
+help: Monitor captured traffic on specified ethernet virtual interface
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6"
diff --git a/templates/monitor/interfaces/loopback/node.def b/templates/monitor/interfaces/loopback/node.def
new file mode 100644
index 0000000..5266ca3
--- /dev/null
+++ b/templates/monitor/interfaces/loopback/node.def
@@ -0,0 +1 @@
+help: Monitor a loopback interface
diff --git a/templates/monitor/interfaces/loopback/node.tag/node.def b/templates/monitor/interfaces/loopback/node.tag/node.def
new file mode 100644
index 0000000..b82e0c5
--- /dev/null
+++ b/templates/monitor/interfaces/loopback/node.tag/node.def
@@ -0,0 +1 @@
+help: Monitor a specified loopback interface
diff --git a/templates/monitor/interfaces/loopback/node.tag/traffic/node.def b/templates/monitor/interfaces/loopback/node.tag/traffic/node.def
new file mode 100644
index 0000000..013fc84
--- /dev/null
+++ b/templates/monitor/interfaces/loopback/node.tag/traffic/node.def
@@ -0,0 +1,2 @@
+help: Monitor captured traffic on loopback interface
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4"
diff --git a/templates/monitor/interface/node.def b/templates/monitor/interfaces/node.def
index 9adbd67..9adbd67 100644
--- a/templates/monitor/interface/node.def
+++ b/templates/monitor/interfaces/node.def
diff --git a/templates/monitor/interfaces/pseudo-ethernet/node.def b/templates/monitor/interfaces/pseudo-ethernet/node.def
new file mode 100644
index 0000000..c51a6f8
--- /dev/null
+++ b/templates/monitor/interfaces/pseudo-ethernet/node.def
@@ -0,0 +1 @@
+help: Monitor a pseudo-ethernet interface
diff --git a/templates/monitor/interfaces/pseudo-ethernet/node.tag/node.def b/templates/monitor/interfaces/pseudo-ethernet/node.tag/node.def
new file mode 100644
index 0000000..459219b
--- /dev/null
+++ b/templates/monitor/interfaces/pseudo-ethernet/node.tag/node.def
@@ -0,0 +1 @@
+help: Monitor a specified pseudo-ethernet interface
diff --git a/templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/node.def b/templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/node.def
new file mode 100644
index 0000000..8f0fc18
--- /dev/null
+++ b/templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/node.def
@@ -0,0 +1,2 @@
+help: Monitor captured traffic on specified pseudo ethernet interface
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4"
diff --git a/templates/monitor/interfaces/tunnel/node.def b/templates/monitor/interfaces/tunnel/node.def
new file mode 100644
index 0000000..ca86e58
--- /dev/null
+++ b/templates/monitor/interfaces/tunnel/node.def
@@ -0,0 +1 @@
+help: Monitor a tunnel interface
diff --git a/templates/monitor/interfaces/tunnel/node.tag/node.def b/templates/monitor/interfaces/tunnel/node.tag/node.def
new file mode 100644
index 0000000..777ddb3
--- /dev/null
+++ b/templates/monitor/interfaces/tunnel/node.tag/node.def
@@ -0,0 +1 @@
+help: Monitor a specified tunnel interface
diff --git a/templates/monitor/interfaces/tunnel/node.tag/traffic/node.def b/templates/monitor/interfaces/tunnel/node.tag/traffic/node.def
new file mode 100644
index 0000000..2f290eb
--- /dev/null
+++ b/templates/monitor/interfaces/tunnel/node.tag/traffic/node.def
@@ -0,0 +1,2 @@
+help: Monitor captured traffic on specified tunnel interface
+run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4"