From 099eebc479b832634bd8311de0676a9ca9233b99 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Mon, 10 Oct 2011 17:46:51 -0500 Subject: Allow log filtering similar to the way the monitor commands work (cherry picked from commit 41dc415a0531e758bf4bb98399c963732a22a859) --- templates/show/log/lldp/node.def | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 templates/show/log/lldp/node.def (limited to 'templates/show/log/lldp') diff --git a/templates/show/log/lldp/node.def b/templates/show/log/lldp/node.def new file mode 100644 index 0000000..34df713 --- /dev/null +++ b/templates/show/log/lldp/node.def @@ -0,0 +1,2 @@ +help: Show log for Lldp +run: cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e lldpd -- cgit v1.2.3