diff options
-rw-r--r-- | templates/monitor/command/node.def | 1 | ||||
-rw-r--r-- | templates/monitor/command/node.tag/node.def | 3 | ||||
-rw-r--r-- | templates/monitor/node.def | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/templates/monitor/command/node.def b/templates/monitor/command/node.def new file mode 100644 index 0000000..3e08ab7 --- /dev/null +++ b/templates/monitor/command/node.def @@ -0,0 +1 @@ +help: Monitor an operational mode command (refreshes every 2 seconds) diff --git a/templates/monitor/command/node.tag/node.def b/templates/monitor/command/node.tag/node.def new file mode 100644 index 0000000..ed73d6b --- /dev/null +++ b/templates/monitor/command/node.tag/node.def @@ -0,0 +1,3 @@ +help: Monitor operational mode command +allowed: echo '<operational-mode-command>' +run: watch /opt/vyatta/bin/vyatta-op-cmd-wrapper ${@:3} diff --git a/templates/monitor/node.def b/templates/monitor/node.def new file mode 100644 index 0000000..6bcdb34 --- /dev/null +++ b/templates/monitor/node.def @@ -0,0 +1 @@ +help: Monitor system information |