Project

finch

0.01
No commit activity in last 3 years
No release in over 3 years
Finch provides an easy to setup dashboard for ping monitoring.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Runtime

 Project Readme

finch

Gem Version

finch is a barebone monitoring dashboard.

finch

I was looking for a dashboard that could be used to monitor HTTP apps, databases and messaging services. It wanted it to be easy to use and without any dependencies.

The search of such a board was starting to take longer than the time required to create one. Basically.

Installation

Ruby 1.9.2 (or superior) is required.

Install it with rubygems:

gem install finch

With bundler, add it to your Gemfile:

gem "finch"

Usage

Configure a config.ru file:

require "finch"

Finch.declare do |declarator|
  declarator.ping "Admin", host: "localhost", port: 3000, group: "Apps"
  declarator.ping "Front", host: "localhost", port: 3001, group: "Apps"
  declarator.ping "Public Api", host: "localhost", port: 3200, group: "Api"
  declarator.ping "Private Api", host: "localhost", port: 3300, group: "Api"
  declarator.ping "Redis", host: "localhost", port: 6379, group: "DB"
  declarator.ping "Mongo", host: "localhost", port: 27017, group: "DB"
  declarator.ping "ElasticSearch", host: "localhost", port: 9200, group: "DB"
  declarator.ping "Beanstalkd", host: "localhost", port: 11300, group: "Messaging"
  declarator.ping "Finch", host: "localhost", port: 9292
end

run Finch::App

And run rackup, and you're done.

Copyright

MIT. See LICENSE for further details.