summaryrefslogtreecommitdiff
path: root/templates/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'templates/monitor')
-rw-r--r--templates/monitor/nat/node.def2
-rw-r--r--templates/monitor/nat/type/destination/node.def2
-rw-r--r--templates/monitor/nat/type/destination/rule/node.def1
-rw-r--r--templates/monitor/nat/type/destination/rule/node.tag/node.def2
-rw-r--r--templates/monitor/nat/type/masquerade/node.def2
-rw-r--r--templates/monitor/nat/type/masquerade/rule/node.def1
-rw-r--r--templates/monitor/nat/type/masquerade/rule/node.tag/node.def3
-rw-r--r--templates/monitor/nat/type/node.def1
-rw-r--r--templates/monitor/nat/type/source/node.def2
-rw-r--r--templates/monitor/nat/type/source/rule/node.def1
-rw-r--r--templates/monitor/nat/type/source/rule/node.tag/node.def2
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[@]}"