A small Rails engine that procudes a centralized dashboard of all monit instances. This gem is an extension of monittr to make it trivial to use in a Rails application
gem 'monit_monitor'
bundle install
###Configure monit dashboard URLS
Create a new initializer file eg config/initializers/monit.rb
MonitMonitor.configure do |c|
c.cluster_urls =
[
'http://user:pass@dashboard1.monit.one:2812' ,
'http://user:pass@dashboard1.monit.two:2812'
]
end
In config/routes.rb
mount MonitMonitor::Server.new => "/monit"