outpost 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +7 -0
- data/Gemfile.lock +1 -1
- data/README.markdown +6 -5
- data/lib/outpost/version.rb +1 -1
- data/test/outpost/application_test.rb +1 -1
- metadata +1 -1
data/CHANGELOG.rdoc
CHANGED
@@ -1,7 +1,14 @@
|
|
1
|
+
== 0.2.2
|
2
|
+
* Features
|
3
|
+
* Using arrays in Response code
|
4
|
+
* Bugfix
|
5
|
+
* Fixed failing test about messages not cleaning up properly in notifiers.
|
6
|
+
|
1
7
|
== 0.2.1
|
2
8
|
* Features
|
3
9
|
* Support for :warning status (by github.com/sryche)
|
4
10
|
* Subclassing Outpost::Application is no longer required.
|
11
|
+
* It is now possible to pass more than one response code to Response code expectation
|
5
12
|
* HTTP Scout responds to response_time now
|
6
13
|
* Added scout data to the report (so you can read acquired data)
|
7
14
|
* Support for creating scouts without any expectations (good if you're
|
data/Gemfile.lock
CHANGED
data/README.markdown
CHANGED
@@ -18,9 +18,10 @@ It should report a status per declared system.
|
|
18
18
|
The idea is to make a reliable framework for the Ruby developer to create his own monitoring rules.
|
19
19
|
So, summing it all up, Nagios in Ruby, much cooler!
|
20
20
|
|
21
|
-
## Information
|
21
|
+
## Information and examples
|
22
22
|
|
23
23
|
* [Rdoc](http://rdoc.info/github/vinibaggio/outpost/master/frames)
|
24
|
+
* [outpost-web](http://github.com/vinibaggio/outpost-web)
|
24
25
|
|
25
26
|
## Installing
|
26
27
|
|
@@ -36,16 +37,16 @@ To create your Outposts, you must require 'outpost'. You also need to include
|
|
36
37
|
require 'outpost'
|
37
38
|
require 'outpost/scouts'
|
38
39
|
|
39
|
-
class
|
40
|
+
class Monitor < Outpost::Application
|
40
41
|
using Outpost::Scouts::Http => "web page" do
|
41
42
|
options :host => 'localhost', :port => 3000
|
42
43
|
report :up, :response_code => 200
|
43
44
|
end
|
44
45
|
end
|
45
46
|
|
46
|
-
|
47
|
-
|
48
|
-
p
|
47
|
+
monitor = Monitor.new
|
48
|
+
monitor.run
|
49
|
+
p monitor.messages # => ["Outpost::Scouts::Http: 'web page' is reporting up."]
|
49
50
|
|
50
51
|
|
51
52
|
## How it works
|
data/lib/outpost/version.rb
CHANGED