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

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
obi-a committed Jan 19, 2014
1 parent 4d86312 commit 840e747
Showing 1 changed file with 39 additions and 4 deletions.
43 changes: 39 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,43 @@
###Ragios (Saint Ruby)

While reading the book “Nagios: system and Network Monitoring” by Wolfgang Barth, I thought it will be a good idea to write a Ruby based System Monitoring tool similar to Nagios.
Ragios can be used to monitor any type of system including websites, servers, system services and web applications.

So I started writing such a tool. Since it was inspired by Nagios, I will call it Ragios (Ruby Agios) aka Saint Ruby since Agios is Saint in Greek.
Sample usage to monitor a website for uptime in Ruby code:
<pre lang="ruby">
monitor = {monitor: "My Website",
url: "http://mysite.com",
every: "5m",
contact: "[email protected]",
via: "email_notifier",
plugin: "uptime_monitor"
}

This is all just for fun and educational purposes. Ruby makes programmers more productive, a longterm goal of this project is to make system monitoring fun and more productive.
ragios.add [monitor]
</pre>
The above example adds a monitor to Ragios, the monitor uses an "uptime_monitor" plugin to monitor the website "http://mysite.com" for uptime. This monitor runs tests on the website every 5 minutes, if it detects the website is down, it sends an alert email to "[email protected]" via an email notifier.

Ragios could be used to monitor any type of system including servers, workstations, switches, routers, system services and applications, locally or over a network. The system admin can define the tests he wants to run on the system or re-use tests written by other developers. The tests run periodically on the system. When a test fails the admin receives an email or SMS alert.
##Features:
A small and minimal extensible design:
* Users can add, update, start, stop, restart and delete monitors in simple Ruby code. [See details](http://www.whisperservers.com/ragios/ragios-saint-ruby/using-ragios/)

* Plugins
+ Ragios relies on plugins to perform tests on different types of systems. The plugins are plain old ruby objects, any test that could be performed in ruby code could be performed by Ragios. Developers can create plugins to meet their specific needs.

* Notifications & Notifiers
+ Notifications are sent out when a test fails and when the test passes again
+ Notification messages are generated from ERB templates which developers can easily customize.
+ Multiple email addresses could be added to a monitor, so that when a test fails it notifies all the email addresses simultaneously.
+ Ragios relies on Notifiers to send out notifications. The notifiers are pluggable plain old ruby objects. Any type of notification that could be implemented in Ruby code can be sent by Ragios, notifications by email, SMS, twitter etc. Developers can create notifiers to meet their specific needs.
+ Ragios ships with a Gmail Notifier that sends notifications via gmail, Amazon SES notifier that sends notifications via Amazon Simple Email Service, and a twitter notifier that tweets notifications on twitter.
+ Multiple notifiers could be added to one monitor, so when a test fails it could send out notifications via all the notifiers simultaneously. Example a monitor could be setup to send notifications via email, SMS and twitter simultaneously.

* REST API is available for interacting with Ragios via REST and JSON

* Ruby client library with makes it easy to interact with Ragios directly with ruby code.

I'm doing this for fun and experimental purposes.

##Documentation:


* [Ragios (Saint Ruby)](http://www.whisperservers.com/ragios/ragios-saint-ruby/)
Expand All @@ -33,3 +64,7 @@ Ragios could be used to monitor any type of system including servers, workstatio

+ [Analytics & Reporting](http://www.whisperservers.com/ragios/analytics-reporting/)

##License:
MIT License.

Copyright (c) 2014 Obi Akubue, obi-akubue.org

0 comments on commit 840e747

Please sign in to comment.