diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-08-17 18:27:57 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-27 17:11:27 -0500 |
commit | ec2beb65dc7430b6c2d7abebc06a789e9139a6bd (patch) | |
tree | dc05031dda48eff73824c840bcf87c9da6fedbfb /templates | |
parent | ce3e729a7f84518aaff7d418a6565da9db049ce8 (diff) | |
download | vyatta-op-ec2beb65dc7430b6c2d7abebc06a789e9139a6bd.tar.gz vyatta-op-ec2beb65dc7430b6c2d7abebc06a789e9139a6bd.zip |
Directory structure for Monitor NAT
Just the directory sturcture
This doesn't do anything yet, more to come.
(cherry picked from commit 05d281856431755d2b915306447722d3adba9849)
Diffstat (limited to 'templates')
11 files changed, 19 insertions, 0 deletions
diff --git a/templates/monitor/nat/node.def b/templates/monitor/nat/node.def new file mode 100644 index 0000000..936fe6b --- /dev/null +++ b/templates/monitor/nat/node.def @@ -0,0 +1,2 @@ +help: Monitor Network Address Translation (NAT) logs +run: echo "Monitor nat" diff --git a/templates/monitor/nat/type/destination/node.def b/templates/monitor/nat/type/destination/node.def new file mode 100644 index 0000000..b04248c --- /dev/null +++ b/templates/monitor/nat/type/destination/node.def @@ -0,0 +1,2 @@ +help: Monitor Destination NAT logs +run: "Monitor Destination nat diff --git a/templates/monitor/nat/type/destination/rule/node.def b/templates/monitor/nat/type/destination/rule/node.def new file mode 100644 index 0000000..f1243ee --- /dev/null +++ b/templates/monitor/nat/type/destination/rule/node.def @@ -0,0 +1 @@ +help: Monitor Destination NAT logs for a specified rule diff --git a/templates/monitor/nat/type/destination/rule/node.tag/node.def b/templates/monitor/nat/type/destination/rule/node.tag/node.def new file mode 100644 index 0000000..5a349c9 --- /dev/null +++ b/templates/monitor/nat/type/destination/rule/node.tag/node.def @@ -0,0 +1,2 @@ +help: Monitor Destination NAT logs for the specified rule +allowed: local -a ARR=$(cli-shell-api listEffectiveNodes service nat rule); echo "${ARR[@]}" diff --git a/templates/monitor/nat/type/masquerade/node.def b/templates/monitor/nat/type/masquerade/node.def new file mode 100644 index 0000000..80e942b --- /dev/null +++ b/templates/monitor/nat/type/masquerade/node.def @@ -0,0 +1,2 @@ +help: Monitor Masquerade NAT logs +run: "Monitor all Masquerade nat rules" diff --git a/templates/monitor/nat/type/masquerade/rule/node.def b/templates/monitor/nat/type/masquerade/rule/node.def new file mode 100644 index 0000000..543074f --- /dev/null +++ b/templates/monitor/nat/type/masquerade/rule/node.def @@ -0,0 +1 @@ +help: Monitor Masquerade NAT logs for a specified rule diff --git a/templates/monitor/nat/type/masquerade/rule/node.tag/node.def b/templates/monitor/nat/type/masquerade/rule/node.tag/node.def new file mode 100644 index 0000000..bc77a5b --- /dev/null +++ b/templates/monitor/nat/type/masquerade/rule/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor Masquerade NAT logs for a specified rule +allowed: local -a ARR=$(cli-shell-api listEffectiveNodes service nat rule); echo "${ARR[@]}" +run: echo "Monitor [NAT-$4-$6]" diff --git a/templates/monitor/nat/type/node.def b/templates/monitor/nat/type/node.def new file mode 100644 index 0000000..9826866 --- /dev/null +++ b/templates/monitor/nat/type/node.def @@ -0,0 +1 @@ +help: Monitor NAT logs for a specified type of NAT diff --git a/templates/monitor/nat/type/source/node.def b/templates/monitor/nat/type/source/node.def new file mode 100644 index 0000000..2dd604f --- /dev/null +++ b/templates/monitor/nat/type/source/node.def @@ -0,0 +1,2 @@ +help: Monitor Source NAT logs +run: "Monitor all source nat rules" diff --git a/templates/monitor/nat/type/source/rule/node.def b/templates/monitor/nat/type/source/rule/node.def new file mode 100644 index 0000000..b24d1bf --- /dev/null +++ b/templates/monitor/nat/type/source/rule/node.def @@ -0,0 +1 @@ +help: Monitor Source NAT logs for a specified rule diff --git a/templates/monitor/nat/type/source/rule/node.tag/node.def b/templates/monitor/nat/type/source/rule/node.tag/node.def new file mode 100644 index 0000000..660eef9 --- /dev/null +++ b/templates/monitor/nat/type/source/rule/node.tag/node.def @@ -0,0 +1,2 @@ +help: Monitor Source NAT logs for a specified rule +allowed: local -a ARR=$(cli-shell-api listEffectiveNodes service nat rule); echo "${ARR[@]}" |