diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-10-10 17:46:51 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-27 17:11:30 -0500 |
commit | 099eebc479b832634bd8311de0676a9ca9233b99 (patch) | |
tree | c2047569729c08ecf60e848358119acba8eb70d2 /templates/show/log/vpn | |
parent | de9a15fe4f2367e2c9bbd135a8b5afe24b5af685 (diff) | |
download | vyatta-op-099eebc479b832634bd8311de0676a9ca9233b99.tar.gz vyatta-op-099eebc479b832634bd8311de0676a9ca9233b99.zip |
Allow log filtering similar to the way the monitor commands work
(cherry picked from commit 41dc415a0531e758bf4bb98399c963732a22a859)
Diffstat (limited to 'templates/show/log/vpn')
-rw-r--r-- | templates/show/log/vpn/all/node.def | 2 | ||||
-rw-r--r-- | templates/show/log/vpn/ipsec/node.def | 2 | ||||
-rw-r--r-- | templates/show/log/vpn/l2tp/node.def | 2 | ||||
-rw-r--r-- | templates/show/log/vpn/node.def | 1 | ||||
-rw-r--r-- | templates/show/log/vpn/pptp/node.def | 3 |
5 files changed, 10 insertions, 0 deletions
diff --git a/templates/show/log/vpn/all/node.def b/templates/show/log/vpn/all/node.def new file mode 100644 index 0000000..7ede375 --- /dev/null +++ b/templates/show/log/vpn/all/node.def @@ -0,0 +1,2 @@ +help: Show log for ALL +run: cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e pluto -e xl2tpd -e pptpd -e ppp diff --git a/templates/show/log/vpn/ipsec/node.def b/templates/show/log/vpn/ipsec/node.def new file mode 100644 index 0000000..6dc4fbf --- /dev/null +++ b/templates/show/log/vpn/ipsec/node.def @@ -0,0 +1,2 @@ +help: Show log for IPSEC +run: cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e pluto diff --git a/templates/show/log/vpn/l2tp/node.def b/templates/show/log/vpn/l2tp/node.def new file mode 100644 index 0000000..0f05603 --- /dev/null +++ b/templates/show/log/vpn/l2tp/node.def @@ -0,0 +1,2 @@ +help: Show log for L2TP +run: cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e remote-access-aaa-win -e remote-access-zzz-mac -e xl2tpd -e ppp diff --git a/templates/show/log/vpn/node.def b/templates/show/log/vpn/node.def new file mode 100644 index 0000000..c4a89e1 --- /dev/null +++ b/templates/show/log/vpn/node.def @@ -0,0 +1 @@ +help: Show log for Virtual Private Network (VPN) diff --git a/templates/show/log/vpn/pptp/node.def b/templates/show/log/vpn/pptp/node.def new file mode 100644 index 0000000..33585a0 --- /dev/null +++ b/templates/show/log/vpn/pptp/node.def @@ -0,0 +1,3 @@ +help: Show log for PPTP +run: cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e pptpd -e ppp + |