summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/show/monitoring/node.def7
-rw-r--r--templates/show/ntp/node.tag/node.def4
2 files changed, 8 insertions, 3 deletions
diff --git a/templates/show/monitoring/node.def b/templates/show/monitoring/node.def
index 9c16edc..2e38feb 100644
--- a/templates/show/monitoring/node.def
+++ b/templates/show/monitoring/node.def
@@ -1,2 +1,7 @@
help: Show currently monitored services
-run: ${vyatta_bindir}/vyatta-monitor-list
+run: echo "Background monitoring sessions:"
+ ${vyatta_bindir}/vyatta-monitor-list
+ for proto in bgp ospf rip ospfv3 ripng; do
+ show monitoring protocols $proto
+ done
+
diff --git a/templates/show/ntp/node.tag/node.def b/templates/show/ntp/node.tag/node.def
index 8eb5406..e7bdb6a 100644
--- a/templates/show/ntp/node.tag/node.def
+++ b/templates/show/ntp/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show date and time of specified NTP server
-allowed: echo -e 'ntp.vyatta.com'; awk '/^server/ { print $2 }' /etc/ntp.conf
-run: /usr/sbin/ntpdate -q ${3:-ntp.vyatta.com}
+allowed: awk '/^server/ { print $2 }' /etc/ntp.conf
+run: /usr/sbin/ntpdate -q $3