summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/show/arp/node.def2
-rw-r--r--templates/show/host/date/node.def2
-rw-r--r--templates/show/host/lookup/node.def1
-rw-r--r--templates/show/host/lookup/node.tag/node.def3
-rw-r--r--templates/show/host/name/node.def2
-rw-r--r--templates/show/host/node.def1
-rw-r--r--templates/show/host/os/node.def2
-rw-r--r--templates/show/users/node.def2
8 files changed, 15 insertions, 0 deletions
diff --git a/templates/show/arp/node.def b/templates/show/arp/node.def
new file mode 100644
index 0000000..021f848
--- /dev/null
+++ b/templates/show/arp/node.def
@@ -0,0 +1,2 @@
+help: Show Address Resolution Protocol Information
+run: /usr/sbin/arp -e
diff --git a/templates/show/host/date/node.def b/templates/show/host/date/node.def
new file mode 100644
index 0000000..6ea4383
--- /dev/null
+++ b/templates/show/host/date/node.def
@@ -0,0 +1,2 @@
+help: Show host current date
+run: /bin/date
diff --git a/templates/show/host/lookup/node.def b/templates/show/host/lookup/node.def
new file mode 100644
index 0000000..d8368b6
--- /dev/null
+++ b/templates/show/host/lookup/node.def
@@ -0,0 +1 @@
+help: Lookup host info for host/ipaddress
diff --git a/templates/show/host/lookup/node.tag/node.def b/templates/show/host/lookup/node.tag/node.def
new file mode 100644
index 0000000..e0dd0df
--- /dev/null
+++ b/templates/show/host/lookup/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Lookup host information for host/ipaddres
+allowed: vyatta-allowed-hosts
+run: /usr/bin/host $4
diff --git a/templates/show/host/name/node.def b/templates/show/host/name/node.def
new file mode 100644
index 0000000..0197d10
--- /dev/null
+++ b/templates/show/host/name/node.def
@@ -0,0 +1,2 @@
+help: Show host name
+run: /bin/hostname
diff --git a/templates/show/host/node.def b/templates/show/host/node.def
new file mode 100644
index 0000000..65a0694
--- /dev/null
+++ b/templates/show/host/node.def
@@ -0,0 +1 @@
+help: Show host information
diff --git a/templates/show/host/os/node.def b/templates/show/host/os/node.def
new file mode 100644
index 0000000..1cfe2ec
--- /dev/null
+++ b/templates/show/host/os/node.def
@@ -0,0 +1,2 @@
+help: Show host operating system details
+run: /bin/uname -a
diff --git a/templates/show/users/node.def b/templates/show/users/node.def
new file mode 100644
index 0000000..6a88319
--- /dev/null
+++ b/templates/show/users/node.def
@@ -0,0 +1,2 @@
+help: Show user information
+run: who