summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2016-10-22 04:06:31 +0700
committerGitHub <noreply@github.com>2016-10-22 04:06:31 +0700
commit24fce18b11bc636854ad0c928d162a5a0233afe5 (patch)
tree460769ff9a897fd6fca16c6b318b2cda07a33a6e /templates
parent8cb6fcc0bafd2c846f8da6a6f2b99146c4259257 (diff)
parenta04d085faa6baf3a021b8d795e1a8487f4317d1c (diff)
downloadvyatta-op-24fce18b11bc636854ad0c928d162a5a0233afe5.tar.gz
vyatta-op-24fce18b11bc636854ad0c928d162a5a0233afe5.zip
Merge pull request #5 from EwaldvanGeffen/patch-1
T58 "monitor firewall name <name>" does not monitor any firewall-log-entry
Diffstat (limited to 'templates')
-rw-r--r--templates/monitor/firewall/name/node.tag/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/monitor/firewall/name/node.tag/node.def b/templates/monitor/firewall/name/node.tag/node.def
index 16b9244..9593cb8 100644
--- a/templates/monitor/firewall/name/node.tag/node.def
+++ b/templates/monitor/firewall/name/node.tag/node.def
@@ -3,4 +3,4 @@ allowed: local -a ARR
eval "ARR=($(cli-shell-api -- listEffectiveNodes firewall name))"
echo ${ARR[@]}
run: echo "Notice: monitoring information is displayed only for rules with enabled logging"; \
- ${vyatta_bindir}/vyatta-monitor Firewall-$4 "\[$4-[0-9]*-[A,D,R]\]"
+ ${vyatta_bindir}/vyatta-monitor Firewall-$4 "\[$4-([0-9]*|default)-[A,D,R]\]"