diff options
Diffstat (limited to 'templates/monitor/nat/destination')
-rw-r--r-- | templates/monitor/nat/destination/node.def | 2 | ||||
-rw-r--r-- | templates/monitor/nat/destination/rule/node.tag/node.def | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/monitor/nat/destination/node.def b/templates/monitor/nat/destination/node.def index b04248c..2e122b0 100644 --- a/templates/monitor/nat/destination/node.def +++ b/templates/monitor/nat/destination/node.def @@ -1,2 +1,2 @@ help: Monitor Destination NAT logs -run: "Monitor Destination nat +run: ${vyatta_bindir}/vyatta-monitor NAT-DEST "\[NAT-[0-9]*-DNAT\]" diff --git a/templates/monitor/nat/destination/rule/node.tag/node.def b/templates/monitor/nat/destination/rule/node.tag/node.def index 5a349c9..5733d14 100644 --- a/templates/monitor/nat/destination/rule/node.tag/node.def +++ b/templates/monitor/nat/destination/rule/node.tag/node.def @@ -1,2 +1,3 @@ help: Monitor Destination NAT logs for the specified rule allowed: local -a ARR=$(cli-shell-api listEffectiveNodes service nat rule); echo "${ARR[@]}" +run: ${vyatta_bindir}/vyatta-monitor NAT-DEST-RULE-$5 "\[NAT-$5-DNAT\]" |