summaryrefslogtreecommitdiff
path: root/templates/monitor/nat/masquerade
diff options
context:
space:
mode:
Diffstat (limited to 'templates/monitor/nat/masquerade')
-rw-r--r--templates/monitor/nat/masquerade/node.def2
-rw-r--r--templates/monitor/nat/masquerade/rule/node.tag/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/monitor/nat/masquerade/node.def b/templates/monitor/nat/masquerade/node.def
index 80e942b..2749d7c 100644
--- a/templates/monitor/nat/masquerade/node.def
+++ b/templates/monitor/nat/masquerade/node.def
@@ -1,2 +1,2 @@
help: Monitor Masquerade NAT logs
-run: "Monitor all Masquerade nat rules"
+run: ${vyatta_bindir}/vyatta-monitor NAT-MASQ "\[NAT-[0-9]*-MASQ\]"
diff --git a/templates/monitor/nat/masquerade/rule/node.tag/node.def b/templates/monitor/nat/masquerade/rule/node.tag/node.def
index bc77a5b..3920027 100644
--- a/templates/monitor/nat/masquerade/rule/node.tag/node.def
+++ b/templates/monitor/nat/masquerade/rule/node.tag/node.def
@@ -1,3 +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]"
+run: ${vyatta_bindir}/vyatta-monitor NAT-MASQ-RULE-$5 "\[NAT-$5-MASQ\]"