diff options
Diffstat (limited to 'templates/monitor/interfaces/ethernet')
16 files changed, 26 insertions, 4 deletions
diff --git a/templates/monitor/interfaces/ethernet/node.tag/node.def b/templates/monitor/interfaces/ethernet/node.tag/node.def index e76b5ab..78761fd 100644 --- a/templates/monitor/interfaces/ethernet/node.tag/node.def +++ b/templates/monitor/interfaces/ethernet/node.tag/node.def @@ -1,3 +1,2 @@ help: Monitor specified ethernet interface allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show ethernet -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="" 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 index 9169460..6e13231 100644 --- a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/node.def +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/node.def @@ -1 +1,3 @@ -help: Monitor the specified vif +help: Monitor specified ethernet interface +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show ethernet --vif ${COMP_WORDS[COMP_CWORD-2]} +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="." diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/filter/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/filter/node.def new file mode 100644 index 0000000..b8da469 --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/filter/node.def @@ -0,0 +1 @@ +help: Monitor detailed filtered traffic for the specified ethernet interface diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/filter/node.tag/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/filter/node.tag/node.def new file mode 100644 index 0000000..9f9dbe1 --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/filter/node.tag/node.def @@ -0,0 +1,2 @@ +help: Monitor detailed filtered traffic for the specified ethernet interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4.$6 --detail --filter "${@:10}" diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/node.def new file mode 100644 index 0000000..36622fe --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/node.def @@ -0,0 +1,2 @@ +help: Monitor detailed traffic for the specified ethernet interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4.$6 --detail diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/unlimited/filter/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/unlimited/filter/node.def new file mode 100644 index 0000000..b8da469 --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/unlimited/filter/node.def @@ -0,0 +1 @@ +help: Monitor detailed filtered traffic for the specified ethernet interface diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/unlimited/filter/node.tag/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/unlimited/filter/node.tag/node.def new file mode 100644 index 0000000..51ecec7 --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/unlimited/filter/node.tag/node.def @@ -0,0 +1,2 @@ +help: Monitor detailed filtered traffic for the specified ethernet interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4.$6 --detail --unlimited --filter "${@:11}" diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/unlimited/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/unlimited/node.def new file mode 100644 index 0000000..aafe57a --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/detail/unlimited/node.def @@ -0,0 +1,2 @@ +help: Monitor detailed traffic for the specified ethernet interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4.$6 --detail --unlimited diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/filter/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/filter/node.def new file mode 100644 index 0000000..8a12510 --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/filter/node.def @@ -0,0 +1 @@ +help: Monitor filtered traffic for the specified ethernet interface diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/filter/node.tag/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/filter/node.tag/node.def new file mode 100644 index 0000000..9cd78ca --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/filter/node.tag/node.def @@ -0,0 +1,2 @@ +help: Monitor filtered traffic for the specified ethernet interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4.$6 --filter "${@:9}" 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 index 51182b2..919a2b2 100644 --- 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 @@ -1,2 +1,2 @@ -help: Monitor captured traffic on specified ethernet virtual interface -run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6" +help: Montior captured traffic on specified ethernet interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4.$6 diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/save/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/save/node.def new file mode 100644 index 0000000..402f47c --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/save/node.def @@ -0,0 +1 @@ +help: Save monitored traffic to a file diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/save/node.tag/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/save/node.tag/node.def new file mode 100644 index 0000000..e822a9b --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/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.$6 --save "${@:9}" diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/unlimited/filter/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/unlimited/filter/node.def new file mode 100644 index 0000000..8a12510 --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/unlimited/filter/node.def @@ -0,0 +1 @@ +help: Monitor filtered traffic for the specified ethernet interface diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/unlimited/filter/node.tag/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/unlimited/filter/node.tag/node.def new file mode 100644 index 0000000..d6f26d3 --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/unlimited/filter/node.tag/node.def @@ -0,0 +1,2 @@ +help: Monitor filtered traffic for the specified ethernet interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4.$6 --unlimited --filter "${@:10}" diff --git a/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/unlimited/node.def b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/unlimited/node.def new file mode 100644 index 0000000..2a4f5bc --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/vif/node.tag/traffic/unlimited/node.def @@ -0,0 +1,2 @@ +help: Monitor traffic for the specified ethernet interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4.$6 --unlimited |