From 34fe3d2a20e9b8ce1dceaed3942dcc9fe19a6297 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 4 Jan 2012 02:09:06 +0700 Subject: Update NAT monitor templates. --- templates/monitor/nat/destination/translations/node.def | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 templates/monitor/nat/destination/translations/node.def (limited to 'templates/monitor/nat/destination/translations/node.def') diff --git a/templates/monitor/nat/destination/translations/node.def b/templates/monitor/nat/destination/translations/node.def new file mode 100644 index 0000000..d6ad6f5 --- /dev/null +++ b/templates/monitor/nat/destination/translations/node.def @@ -0,0 +1,4 @@ +help: Monitor active destination NAT translations events +run: LESSOPEN=cat + echo Type control-C to quit + sudo /usr/sbin/conntrack -E -g -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe --type=destination -- cgit v1.2.3