summaryrefslogtreecommitdiff
path: root/templates/monitor/nat
diff options
context:
space:
mode:
Diffstat (limited to 'templates/monitor/nat')
-rw-r--r--templates/monitor/nat/destination/node.def3
-rw-r--r--templates/monitor/nat/destination/rule/node.def1
-rw-r--r--templates/monitor/nat/destination/rule/node.tag/node.def6
-rw-r--r--templates/monitor/nat/destination/translations/detail/node.def4
-rw-r--r--templates/monitor/nat/destination/translations/node.def4
-rw-r--r--templates/monitor/nat/node.def1
-rw-r--r--templates/monitor/nat/source/node.def3
-rw-r--r--templates/monitor/nat/source/rule/node.def1
-rw-r--r--templates/monitor/nat/source/rule/node.tag/node.def6
-rw-r--r--templates/monitor/nat/source/translations/detail/node.def4
-rw-r--r--templates/monitor/nat/source/translations/node.def4
11 files changed, 0 insertions, 37 deletions
diff --git a/templates/monitor/nat/destination/node.def b/templates/monitor/nat/destination/node.def
deleted file mode 100644
index 7729cc8..0000000
--- a/templates/monitor/nat/destination/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Monitor destination NAT
-run: echo "Notice: monitoring information is displayed only for rules with enabled logging"; \
- ${vyatta_bindir}/vyatta-monitor NAT-DEST "\[NAT-DST-[0-9]*.*\]"
diff --git a/templates/monitor/nat/destination/rule/node.def b/templates/monitor/nat/destination/rule/node.def
deleted file mode 100644
index b90312e..0000000
--- a/templates/monitor/nat/destination/rule/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Monitor a specified Destination NAT rule
diff --git a/templates/monitor/nat/destination/rule/node.tag/node.def b/templates/monitor/nat/destination/rule/node.tag/node.def
deleted file mode 100644
index 1ada87b..0000000
--- a/templates/monitor/nat/destination/rule/node.tag/node.def
+++ /dev/null
@@ -1,6 +0,0 @@
-help: Monitor a specified destination NAT rule
-allowed: local -a ARR
- eval "ARR=($(cli-shell-api listEffectiveNodes nat destination rule))"
- echo ${ARR[@]}
-run: ${vyatta_bindir}/vyatta-monitor-check-rule-log "nat destination" $5; \
- ${vyatta_bindir}/vyatta-monitor NAT-DEST-RULE-$5 "\[NAT-DST-$5-*\]"
diff --git a/templates/monitor/nat/destination/translations/detail/node.def b/templates/monitor/nat/destination/translations/detail/node.def
deleted file mode 100644
index d700d9f..0000000
--- a/templates/monitor/nat/destination/translations/detail/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Show active destination NAT translations events verbose
-run: LESSOPEN=cat
- echo Type control-C to quit
- sudo /usr/sbin/conntrack -E -g -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe --type=destination --verbose
diff --git a/templates/monitor/nat/destination/translations/node.def b/templates/monitor/nat/destination/translations/node.def
deleted file mode 100644
index f1f593d..0000000
--- a/templates/monitor/nat/destination/translations/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Monitor active destination NAT translations events
-run: LESSOPEN=cat
- echo Type control-C to quit
- sudo /usr/sbin/conntrack --dst-nat --event
diff --git a/templates/monitor/nat/node.def b/templates/monitor/nat/node.def
deleted file mode 100644
index 11a8e3d..0000000
--- a/templates/monitor/nat/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Monitor network address translation (NAT)
diff --git a/templates/monitor/nat/source/node.def b/templates/monitor/nat/source/node.def
deleted file mode 100644
index 486743c..0000000
--- a/templates/monitor/nat/source/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Monitor source NAT
-run: echo "Notice: monitoring information is displayed only for rules with enabled logging"; \
- ${vyatta_bindir}/vyatta-monitor NAT-SOURCE "\[NAT-SRC-[0-9]*.*\]"
diff --git a/templates/monitor/nat/source/rule/node.def b/templates/monitor/nat/source/rule/node.def
deleted file mode 100644
index 8526965..0000000
--- a/templates/monitor/nat/source/rule/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Monitor a specified source NAT rule
diff --git a/templates/monitor/nat/source/rule/node.tag/node.def b/templates/monitor/nat/source/rule/node.tag/node.def
deleted file mode 100644
index 98e2cfa..0000000
--- a/templates/monitor/nat/source/rule/node.tag/node.def
+++ /dev/null
@@ -1,6 +0,0 @@
-help: Monitor a specified source NAT rule
-allowed: local -a ARR
- eval "ARR=($(cli-shell-api listEffectiveNodes nat source rule))"
- echo ${ARR[@]}
-run: ${vyatta_bindir}/vyatta-monitor-check-rule-log "nat source" $5; \
- ${vyatta_bindir}/vyatta-monitor NAT-SOURCE-RULE-$5 "\[NAT-SRC-$5.*\]"
diff --git a/templates/monitor/nat/source/translations/detail/node.def b/templates/monitor/nat/source/translations/detail/node.def
deleted file mode 100644
index e6e6f02..0000000
--- a/templates/monitor/nat/source/translations/detail/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Show active source NAT translations events verbose
-run: LESSOPEN=cat
- echo Type control-C to quit
- sudo /usr/sbin/conntrack -E -n -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe --type=source --verbose
diff --git a/templates/monitor/nat/source/translations/node.def b/templates/monitor/nat/source/translations/node.def
deleted file mode 100644
index e458848..0000000
--- a/templates/monitor/nat/source/translations/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Monitor active source NAT translations events
-run: LESSOPEN=cat
- echo Type control-C to quit
- sudo /usr/sbin/conntrack --src-nat --event