lib/easymon/checks/http_check.rb in easymon-1.2 vs lib/easymon/checks/http_check.rb in easymon-1.2.1

- old
+ new

@@ -18,10 +18,14 @@ [check_status, message] end private def http_up?(config_url) - response = RestClient.head(config_url) + response = RestClient::Request.execute( + :method => :head, + :url => config_url, + :timeout => 5, + :open_timeout => 5) true rescue Exception false end end \ No newline at end of file