\ Dexter's Laboratories » http monitoring with God
Home > Internet, Software > http monitoring with God

http monitoring with God

A few more line to the monitoring of yesterday

[...]
    w.restart_if do |restart|
      restart.condition(:http_response_code) do |c|
        c.host = 'localhost'
        c.port = port
        c.path = '/'
        c.code_is_not = 200
        c.timeout = 3.seconds
        c.times = [2, 5]
      end
[...]
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
534 views
  1. No comments yet.
  1. No trackbacks yet.