diff options
Diffstat (limited to 'templates/monitor/interfaces/pseudo-ethernet')
3 files changed, 4 insertions, 0 deletions
diff --git a/templates/monitor/interfaces/pseudo-ethernet/node.def b/templates/monitor/interfaces/pseudo-ethernet/node.def index c51a6f8..8cd18c9 100644 --- a/templates/monitor/interfaces/pseudo-ethernet/node.def +++ b/templates/monitor/interfaces/pseudo-ethernet/node.def @@ -1 +1,2 @@ help: Monitor a pseudo-ethernet interface +run: bmon -p peth* diff --git a/templates/monitor/interfaces/pseudo-ethernet/node.tag/flow/node.def b/templates/monitor/interfaces/pseudo-ethernet/node.tag/flow/node.def new file mode 100644 index 0000000..2dd7cfd --- /dev/null +++ b/templates/monitor/interfaces/pseudo-ethernet/node.tag/flow/node.def @@ -0,0 +1,2 @@ +help: Monitor flows on specified interface +run: sudo /usr/sbin/iftop -i $4 diff --git a/templates/monitor/interfaces/pseudo-ethernet/node.tag/node.def b/templates/monitor/interfaces/pseudo-ethernet/node.tag/node.def index 577f079..b58a595 100644 --- a/templates/monitor/interfaces/pseudo-ethernet/node.tag/node.def +++ b/templates/monitor/interfaces/pseudo-ethernet/node.tag/node.def @@ -1,3 +1,4 @@ help: Monitor specified pseudo-ethernet interface allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show pseudo-ethernet +run: bmon -p $4 |