templates/monit/config/rubber/deploy-monit.rb in rubber-2.2.4 vs templates/monit/config/rubber/deploy-monit.rb in rubber-2.3.0

- old
+ new

@@ -25,9 +25,16 @@ desc "Restart monit daemon monitoring" task :restart, :roles => :monit do stop start end - + + desc "Display status of monit daemon monitoring" + task :status, :roles => :monit do + rsudo "service monit status || true" + rsudo "ps -eopid,user,fname | grep [m]onit || true" + rsudo "netstat -tulpn | grep monit || true" + end + end end