vinibaggio/outpost — Issue #13: Report down error code
Author: hulihanapplications
Created: 2012-02-01 20:23:48+00:00
State: open

I think it would be really useful to report the error code for a failing host. For instance, if I defined a host like so...

```rb
class HttpOutpostExample < Outpost::Application
using Outpost::Scouts::Http => "web page" do
options :host => 'localhost'
report :up, :response_code => 200
end
end
```

The report would return...

Outpost::Scouts::Http: 'web page' is reporting down with an error code of 500 (Internal Server Error).

...or something. Sorry about all the feature requests, I'm just thinking of some things that could maybe make outpost more powerful.