README.md in healthety-0.0.3 vs README.md in healthety-0.0.4
- old
+ new
@@ -1,23 +1,23 @@
# Ruby Worker
-The Ruby Worker sends JSON data via UDP packets to a given host at a defined interval.
+The Ruby Worker sends JSON wrapped data via UDP packets to a given server at a defined interval.
-### Installation
+## Installation
- gem install healthety
+ $ gem install healthety
-### Usage
+## Usage
require "healthety"
Healthety.workers do
server "127.0.0.1"
- port 8124
+ port 41234
worker :load_average do
interval 0.5
- # Get load average with a system call (OS X)
+ # Gets load average with a system call (Mac OS X)
value `w | head -n1 | cut -f4 -d":" | cut -f2 -d" "`.to_f
end
worker :memory do
interval 2