diff options
Diffstat (limited to 'templates/monitor/interfaces')
16 files changed, 33 insertions, 0 deletions
diff --git a/templates/monitor/interfaces/vti/node.def b/templates/monitor/interfaces/vti/node.def new file mode 100644 index 0000000..b7429bd --- /dev/null +++ b/templates/monitor/interfaces/vti/node.def @@ -0,0 +1,2 @@ +help: Monitor a vti interface +run: bmon -p vti* diff --git a/templates/monitor/interfaces/vti/node.tag/node.def b/templates/monitor/interfaces/vti/node.tag/node.def new file mode 100644 index 0000000..7244589 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/node.def @@ -0,0 +1,4 @@ +help: Monitor specified vti interface +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show vti +run: bmon -p $4 + diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/detail/filter/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/detail/filter/node.def new file mode 100644 index 0000000..a6a9444 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/detail/filter/node.def @@ -0,0 +1 @@ +help: Monitor detailed filtered traffic for the specified vti interface diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/detail/filter/node.tag/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/detail/filter/node.tag/node.def new file mode 100644 index 0000000..63742c3 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/detail/filter/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor detailed filtered traffic for the specified vti interface +allowed: echo -e '<pcap-filter>' +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --detail --filter "${@:8}" diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/detail/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/detail/node.def new file mode 100644 index 0000000..b759e3d --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/detail/node.def @@ -0,0 +1,2 @@ +help: Monitor detailed traffic for the specified vti interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --detail diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/detail/unlimited/filter/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/detail/unlimited/filter/node.def new file mode 100644 index 0000000..a6a9444 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/detail/unlimited/filter/node.def @@ -0,0 +1 @@ +help: Monitor detailed filtered traffic for the specified vti interface diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/detail/unlimited/filter/node.tag/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/detail/unlimited/filter/node.tag/node.def new file mode 100644 index 0000000..f54a40b --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/detail/unlimited/filter/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor detailed filtered traffic for the specified vti interface +allowed: echo -e '<pcap-filter>' +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --detail --unlimited --filter "${@:9}" diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/detail/unlimited/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/detail/unlimited/node.def new file mode 100644 index 0000000..1158b46 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/detail/unlimited/node.def @@ -0,0 +1,2 @@ +help: Monitor detailed traffic for the specified vti interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --detail --unlimited diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/filter/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/filter/node.def new file mode 100644 index 0000000..4ee8e39 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/filter/node.def @@ -0,0 +1 @@ +help: Monitor filtered traffic for the specified vti interface diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/filter/node.tag/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/filter/node.tag/node.def new file mode 100644 index 0000000..c88e0e6 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/filter/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor filtered traffic for the specified vti interface +allowed: echo -e '<pcap-filter>' +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --filter "${@:7}" diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/node.def new file mode 100644 index 0000000..e38107c --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/node.def @@ -0,0 +1,2 @@ +help: Montior captured traffic on specified vti interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/save/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/save/node.def new file mode 100644 index 0000000..402f47c --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/save/node.def @@ -0,0 +1 @@ +help: Save monitored traffic to a file diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/save/node.tag/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/save/node.tag/node.def new file mode 100644 index 0000000..bd747b5 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/save/node.tag/node.def @@ -0,0 +1,2 @@ +help: Save monitored traffic to a file +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/unlimited/filter/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/unlimited/filter/node.def new file mode 100644 index 0000000..4ee8e39 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/unlimited/filter/node.def @@ -0,0 +1 @@ +help: Monitor filtered traffic for the specified vti interface diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/unlimited/filter/node.tag/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/unlimited/filter/node.tag/node.def new file mode 100644 index 0000000..9346ce2 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/unlimited/filter/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor filtered traffic for the specified vti interface +allowed: echo -e '<pcap-filter>' +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --unlimited --filter "${@:8}" diff --git a/templates/monitor/interfaces/vti/node.tag/traffic/unlimited/node.def b/templates/monitor/interfaces/vti/node.tag/traffic/unlimited/node.def new file mode 100644 index 0000000..c4a9143 --- /dev/null +++ b/templates/monitor/interfaces/vti/node.tag/traffic/unlimited/node.def @@ -0,0 +1,2 @@ +help: Monitor traffic for the specified vti interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --unlimited |