summaryrefslogtreecommitdiff
path: root/templates/monitor/nat/translations/node.def
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-09-12 12:30:24 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:29 -0500
commit3de34f9578e04f849f809329f7128a99e8010990 (patch)
tree68517fc749fc5d06d329b70d45e24013222c76e3 /templates/monitor/nat/translations/node.def
parent5ffdcf0fce813c75443dad86a2537d3fe6036c66 (diff)
downloadvyatta-op-3de34f9578e04f849f809329f7128a99e8010990.tar.gz
vyatta-op-3de34f9578e04f849f809329f7128a99e8010990.zip
Forground monitoring for nat
(cherry picked from commit f2b1229509cedbc5d201afb83a73dd142f98ddda)
Diffstat (limited to 'templates/monitor/nat/translations/node.def')
-rw-r--r--templates/monitor/nat/translations/node.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/monitor/nat/translations/node.def b/templates/monitor/nat/translations/node.def
new file mode 100644
index 0000000..c31c77f
--- /dev/null
+++ b/templates/monitor/nat/translations/node.def
@@ -0,0 +1,4 @@
+help: Monitor active NAT translations events
+run: LESSOPEN=cat
+ echo Type control-C to quit
+ sudo /usr/sbin/conntrack -E -n -g -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe