Uzebba

Ruby on Rails monitoring tool for monitoring system performance (cpu & memory usage)

Not yet complete. . .

Installation

1. Add this line to your application's Gemfile:

gem 'uzebba'

OR get it from git:

gem 'uzebba', git: 'git://github.com/ohiodn8/uzebba.git'

And then execute:

$ bundle

Or install it yourself as:

$ gem install uzebba 


2. Run Generator:

$ rails generate uzebba:install 

Run Migration:

$ rails db:migrate

Usage

In routes.rb

mount Uzebba::Engine => "/uzebba"

Visit: http://localhost:3000/uzebba

About the Gem

This gem is a monitoring tool that monitors cpu and memory usage. The gem is based off of a tutorial that I decided to package as a gem. The gem heavily depends on the crono gem to handle background process, and chartkick gem for the monitoring charts. You don't have to install chartkick or crono as the uzebba gem will handle the installation.

For Windows: when you start the rails server, the gem will open a new cmd minimized on the taskbar. When you stop the rails server the application will also close the minimized cmd. This is the gem's way of imitating a Linux background process to handle the crono process.

For Linux: when you start the rails server, the crono process will run in background; and when you stop the rails server, the crono process should stop. [To stop the process via the terminal, you have to do ps aux | grep crono to view the crono pid, and kill -s sigterm [pid] to terminate the process.]

Do not use in production.

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.