From 035dba8d5e32def40841e8df5f787eb9003ca20a Mon Sep 17 00:00:00 2001
From: Viacheslav Hletenko <seversss265@gmail.com>
Date: Tue, 17 Dec 2019 19:15:51 +0200
Subject: [monitoring] T832: Fix show monitoring

---
 templates/show/monitoring/node.def | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

(limited to 'templates/show/monitoring/node.def')

diff --git a/templates/show/monitoring/node.def b/templates/show/monitoring/node.def
index 2c6587a..da81433 100644
--- a/templates/show/monitoring/node.def
+++ b/templates/show/monitoring/node.def
@@ -1,12 +1,2 @@
 help: Show currently monitored services
-run: echo "------------------------------"
-     echo "Background monitoring sessions"
-     echo "------------------------------"
-     ${vyatta_bindir}/vyatta-monitor-list
-     echo
-     echo "------------------------------"
-     echo "  Protocol monitoring status"
-     echo "------------------------------"
-     for proto in bgp ospf rip ospfv3 ripng; do 
-       show monitoring protocols $proto
-     done
+run: vtysh -c "show debugging"
-- 
cgit v1.2.3

