diff options
author | Daniil Baturin <daniil.baturin@vyatta.com> | 2012-01-04 04:49:57 +0700 |
---|---|---|
committer | Daniil Baturin <daniil.baturin@vyatta.com> | 2012-01-04 04:49:57 +0700 |
commit | c127764c495e058ad85b5a311f06b23521e42499 (patch) | |
tree | 3bb6ccc2b327c8696a16f9bdd83ba96e7e1a351b /templates/monitor/nat | |
parent | 0383dc70d189aef5dd1c0b2d891a6f568afbc275 (diff) | |
download | vyatta-op-c127764c495e058ad85b5a311f06b23521e42499.tar.gz vyatta-op-c127764c495e058ad85b5a311f06b23521e42499.zip |
Fix NAT monitor rule log prefix.
Diffstat (limited to 'templates/monitor/nat')
7 files changed, 7 insertions, 7 deletions
diff --git a/templates/monitor/nat/destination/background/start/node.def b/templates/monitor/nat/destination/background/start/node.def index 599c54c..5feaf6b 100644 --- a/templates/monitor/nat/destination/background/start/node.def +++ b/templates/monitor/nat/destination/background/start/node.def @@ -1,2 +1,2 @@ help: Start background destination NAT monitoring -run: ${vyatta_bindir}/vyatta-monitor-background NAT-DEST "\[NAT-DST-[0-9]*-*\]" +run: ${vyatta_bindir}/vyatta-monitor-background NAT-DEST "\[NAT-DST-[0-9]*.*\]" diff --git a/templates/monitor/nat/destination/node.def b/templates/monitor/nat/destination/node.def index df2893b..3dc3e61 100644 --- a/templates/monitor/nat/destination/node.def +++ b/templates/monitor/nat/destination/node.def @@ -1,2 +1,2 @@ help: Monitor destination NAT -run: ${vyatta_bindir}/vyatta-monitor NAT-DEST "\[NAT-DST-[0-9]*-*\]" +run: ${vyatta_bindir}/vyatta-monitor NAT-DEST "\[NAT-DST-[0-9]*.*\]" 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 710f4a7..955eebb 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-DST-$5-*\]" +run: ${vyatta_bindir}/vyatta-monitor-background NAT-DEST-RULE-$5 "\[NAT-DST-$5.*\]" diff --git a/templates/monitor/nat/source/background/start/node.def b/templates/monitor/nat/source/background/start/node.def index 962c766..7b3a275 100644 --- a/templates/monitor/nat/source/background/start/node.def +++ b/templates/monitor/nat/source/background/start/node.def @@ -1,2 +1,2 @@ help: Start background monitoring of source NAT -run: ${vyatta_bindir}/vyatta-monitor-background NAT-SOURCE "\[NAT-SRC-[0-9]*-*\]" +run: ${vyatta_bindir}/vyatta-monitor-background NAT-SOURCE "\[NAT-SRC-[0-9]*.*\]" diff --git a/templates/monitor/nat/source/node.def b/templates/monitor/nat/source/node.def index c69dc9c..48b2bb9 100644 --- a/templates/monitor/nat/source/node.def +++ b/templates/monitor/nat/source/node.def @@ -1,2 +1,2 @@ help: Monitor source NAT -run: ${vyatta_bindir}/vyatta-monitor NAT-SOURCE "\[NAT-SRC-[0-9]*-*\]" +run: ${vyatta_bindir}/vyatta-monitor NAT-SOURCE "\[NAT-SRC-[0-9]*.*\]" diff --git a/templates/monitor/nat/source/rule/node.tag/background/start/node.def b/templates/monitor/nat/source/rule/node.tag/background/start/node.def index 6cca0ce..9f83cb4 100644 --- a/templates/monitor/nat/source/rule/node.tag/background/start/node.def +++ b/templates/monitor/nat/source/rule/node.tag/background/start/node.def @@ -1,2 +1,2 @@ help: Start background monitoring of a specified source NAT rule -run: ${vyatta_bindir}/vyatta-monitor-background NAT-SOURCE-RULE-$5 "\[NAT-SRC-$5-*\]" +run: ${vyatta_bindir}/vyatta-monitor-background NAT-SOURCE-RULE-$5 "\[NAT-SRC-$5.*\]" diff --git a/templates/monitor/nat/source/rule/node.tag/node.def b/templates/monitor/nat/source/rule/node.tag/node.def index 5abfdd2..e291421 100644 --- a/templates/monitor/nat/source/rule/node.tag/node.def +++ b/templates/monitor/nat/source/rule/node.tag/node.def @@ -2,4 +2,4 @@ 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 NAT-SOURCE-RULE-$5 "\[NAT-SRC-$5-*\]" +run: ${vyatta_bindir}/vyatta-monitor NAT-SOURCE-RULE-$5 "\[NAT-SRC-$5.*\]" |