diff options
Diffstat (limited to 'templates')
4 files changed, 7 insertions, 0 deletions
diff --git a/templates/monitor/bandwidth-test/accept/node.def b/templates/monitor/bandwidth-test/accept/node.def new file mode 100644 index 0000000..1dc5335 --- /dev/null +++ b/templates/monitor/bandwidth-test/accept/node.def @@ -0,0 +1,2 @@ +help: Wait for bandwidth test connections (port TCP/5001) +run: iperf -s diff --git a/templates/monitor/bandwidth-test/initiate/node.def b/templates/monitor/bandwidth-test/initiate/node.def new file mode 100644 index 0000000..af8c1bd --- /dev/null +++ b/templates/monitor/bandwidth-test/initiate/node.def @@ -0,0 +1 @@ +help: Initiate a bandwidth test diff --git a/templates/monitor/bandwidth-test/initiate/node.tag/node.def b/templates/monitor/bandwidth-test/initiate/node.tag/node.def new file mode 100644 index 0000000..86dfaa1 --- /dev/null +++ b/templates/monitor/bandwidth-test/initiate/node.tag/node.def @@ -0,0 +1,3 @@ +help: Initiate a bandwidth test to specified host (port TCP/5001) +allowed: echo '<hostname> <x.x.x.x> <h:h:h:h:h:h:h:h>' +run: iperf -c $5 diff --git a/templates/monitor/bandwidth-test/node.def b/templates/monitor/bandwidth-test/node.def new file mode 100644 index 0000000..c83cb4f --- /dev/null +++ b/templates/monitor/bandwidth-test/node.def @@ -0,0 +1 @@ +help: Initiate or wait for bandwidth test |