diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-12-14 15:52:31 -0800 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-12-14 15:52:31 -0800 |
commit | 3afea465f804c69a857cb579e4d69288c2751117 (patch) | |
tree | b976973c12a74bca551f0bec6c9067d411654e41 /templates | |
parent | fb49ac75eabc58dcb9601fe4793a9e501b75ef38 (diff) | |
download | vyatta-op-3afea465f804c69a857cb579e4d69288c2751117.tar.gz vyatta-op-3afea465f804c69a857cb579e4d69288c2751117.zip |
Add monitoring for vrrp interfaces
Diffstat (limited to 'templates')
15 files changed, 30 insertions, 0 deletions
diff --git a/templates/monitor/interfaces/vrrp/node.tag/node.def b/templates/monitor/interfaces/vrrp/node.tag/node.def new file mode 100644 index 0000000..48cb5af --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor specified vrrp interface +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show vrrp + diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/filter/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/filter/node.def new file mode 100644 index 0000000..089543a --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/filter/node.def @@ -0,0 +1 @@ +help: Monitor detailed filtered traffic for the specified vrrp interface diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/filter/node.tag/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/filter/node.tag/node.def new file mode 100644 index 0000000..cf49146 --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/filter/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor detailed filtered traffic for the specified vrrp interface +allowed: echo -e '<pcap-filter>' +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --detail --filter "${@:8}" diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/node.def new file mode 100644 index 0000000..c67d39c --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/node.def @@ -0,0 +1,2 @@ +help: Monitor detailed traffic for the specified vrrp interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --detail diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/unlimited/filter/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/unlimited/filter/node.def new file mode 100644 index 0000000..089543a --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/unlimited/filter/node.def @@ -0,0 +1 @@ +help: Monitor detailed filtered traffic for the specified vrrp interface diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/unlimited/filter/node.tag/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/unlimited/filter/node.tag/node.def new file mode 100644 index 0000000..d3c180d --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/unlimited/filter/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor detailed filtered traffic for the specified vrrp interface +allowed: echo -e '<pcap-filter>' +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --detail --unlimited --filter "${@:9}" diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/unlimited/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/unlimited/node.def new file mode 100644 index 0000000..8805b9e --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/detail/unlimited/node.def @@ -0,0 +1,2 @@ +help: Monitor detailed traffic for the specified vrrp interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --detail --unlimited diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/filter/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/filter/node.def new file mode 100644 index 0000000..4e5f1c2 --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/filter/node.def @@ -0,0 +1 @@ +help: Monitor filtered traffic for the specified vrrp interface diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/filter/node.tag/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/filter/node.tag/node.def new file mode 100644 index 0000000..99bbb91 --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/filter/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor filtered traffic for the specified vrrp interface +allowed: echo -e '<pcap-filter>' +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --filter "${@:7}" diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/node.def new file mode 100644 index 0000000..8bee8fe --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/node.def @@ -0,0 +1,2 @@ +help: Montior captured traffic on specified vrrp interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/save/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/save/node.def new file mode 100644 index 0000000..402f47c --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/save/node.def @@ -0,0 +1 @@ +help: Save monitored traffic to a file diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/save/node.tag/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/save/node.tag/node.def new file mode 100644 index 0000000..bd747b5 --- /dev/null +++ b/templates/monitor/interfaces/vrrp/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/vrrp/node.tag/traffic/unlimited/filter/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/unlimited/filter/node.def new file mode 100644 index 0000000..4e5f1c2 --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/unlimited/filter/node.def @@ -0,0 +1 @@ +help: Monitor filtered traffic for the specified vrrp interface diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/unlimited/filter/node.tag/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/unlimited/filter/node.tag/node.def new file mode 100644 index 0000000..25fc797 --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/unlimited/filter/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor filtered traffic for the specified vrrp interface +allowed: echo -e '<pcap-filter>' +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --unlimited --filter "${@:8}" diff --git a/templates/monitor/interfaces/vrrp/node.tag/traffic/unlimited/node.def b/templates/monitor/interfaces/vrrp/node.tag/traffic/unlimited/node.def new file mode 100644 index 0000000..6002c6a --- /dev/null +++ b/templates/monitor/interfaces/vrrp/node.tag/traffic/unlimited/node.def @@ -0,0 +1,2 @@ +help: Monitor traffic for the specified vrrp interface +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --unlimited |