summaryrefslogtreecommitdiff
path: root/templates/monitor/nat/destination/rule
diff options
context:
space:
mode:
Diffstat (limited to 'templates/monitor/nat/destination/rule')
-rw-r--r--templates/monitor/nat/destination/rule/node.tag/background/node.def2
-rw-r--r--templates/monitor/nat/destination/rule/node.tag/background/start/node.def4
-rw-r--r--templates/monitor/nat/destination/rule/node.tag/background/stop/node.def2
-rw-r--r--templates/monitor/nat/destination/rule/node.tag/node.def6
4 files changed, 7 insertions, 7 deletions
diff --git a/templates/monitor/nat/destination/rule/node.tag/background/node.def b/templates/monitor/nat/destination/rule/node.tag/background/node.def
index 7f64872..c862d82 100644
--- a/templates/monitor/nat/destination/rule/node.tag/background/node.def
+++ b/templates/monitor/nat/destination/rule/node.tag/background/node.def
@@ -1 +1 @@
-help: Monitor a specified Destination NAT rule in the background
+help: Monitor a specified destination NAT rule in the background
diff --git a/templates/monitor/nat/destination/rule/node.tag/background/start/node.def b/templates/monitor/nat/destination/rule/node.tag/background/start/node.def
index 6dc8430..710f4a7 100644
--- a/templates/monitor/nat/destination/rule/node.tag/background/start/node.def
+++ b/templates/monitor/nat/destination/rule/node.tag/background/start/node.def
@@ -1,2 +1,2 @@
-help: Start background monitoring of a specified Destination NAT rule
-run: ${vyatta_bindir}/vyatta-monitor-background NAT-DEST-RULE-$5 "\[NAT-$5-DNAT\]"
+help: Start background monitoring of a specified destination NAT rule
+run: ${vyatta_bindir}/vyatta-monitor-background NAT-DEST-RULE-$5 "\[NAT-DST-$5-*\]"
diff --git a/templates/monitor/nat/destination/rule/node.tag/background/stop/node.def b/templates/monitor/nat/destination/rule/node.tag/background/stop/node.def
index fb9016f..bdd727a 100644
--- a/templates/monitor/nat/destination/rule/node.tag/background/stop/node.def
+++ b/templates/monitor/nat/destination/rule/node.tag/background/stop/node.def
@@ -1,2 +1,2 @@
-help: Stop background monitoring of a specified Destination NAT rule
+help: Stop background monitoring of a specified destination NAT rule
run: ${vyatta_bindir}/vyatta-monitor-background-stop NAT-DEST-RULE-$5
diff --git a/templates/monitor/nat/destination/rule/node.tag/node.def b/templates/monitor/nat/destination/rule/node.tag/node.def
index d99860b..8be31fc 100644
--- a/templates/monitor/nat/destination/rule/node.tag/node.def
+++ b/templates/monitor/nat/destination/rule/node.tag/node.def
@@ -1,5 +1,5 @@
-help: Monitor a specified Destination NAT rule
+help: Monitor a specified destination NAT rule
allowed: local -a ARR
- eval "ARR=($(cli-shell-api listEffectiveNodes service nat rule))"
+ eval "ARR=($(cli-shell-api listEffectiveNodes nat destination rule))"
echo ${ARR[@]}
-run: ${vyatta_bindir}/vyatta-monitor NAT-DEST-RULE-$5 "\[NAT-$5-DNAT\]"
+run: ${vyatta_bindir}/vyatta-monitor NAT-DEST-RULE-$5 "\[NAT-DST-$5-*\]"