Code Monkey home page Code Monkey logo

eir's Introduction

Eir

A really easy way to monitor the health of a list of endpoints over time.

Example Dashboard

Installation and Usage

Add to your Gemfile:

source 'https://rubygems.org'
gem 'eir'

At your project root, create a uris.yaml YAML file of the URIs you wish to monitor, e.g.:

- http://www.google.co.uk : Google
- http://www.yahoo.co.uk : Yahoo
- http://www.itv.com : ITV

From the console, navigate to your project root and simply run:

$ eir

A lightweight Sinatra app will start at http://localhost:8700.

Both a pidfile and logs will be generated at server.pid, eir_access.log and eir_error.log.

A successfully running app should have a directory structure like this:

.
├── Gemfile
├── Gemfile.lock
├── eir_access.log
├── eir_error.log
├── server.pid
└── uris.yaml

TODO

  1. Test connection error cases
  2. Parse/validate URIs
  3. Validate YAML
  4. Some decent CSS/JS (please help!)

eir's People

Contributors

bsnape avatar lukasmac avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.