Smarta Sensor for ruby and rails
What's smarta
Smarta is smarta agent for nodebus (social system monitoring)
NodeBus/Smarta Home: http://nodebus.com
What's smarta sensor
A Passive sensor that could emit events to Smarta.
Gem Install
gem install smarta
How to use
require "rubygems"
require "smarta"
sensor = Smarta::Sensor.new(:host => "localhost", :port => 7070, :name => "Sensor")
sensor.info("import ap successfully", "import 200 ap");
sensor.warn("exception caught", "exception details");
sensor.crit("xxx error", "error details");