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
[...]