Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

execonline-inc/monit_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Example

Alt text

Install

Rails

Add to Gemfile

gem 'monit_monitor'

Instal gems


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

Add a route

In config/routes.rb

mount MonitMonitor::Server.new => "/monit"

About

Unified dashboard for monit

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
MIT-LICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published