summaryrefslogtreecommitdiff
path: root/lib/oxidized/input/input.rb
blob: 1184a0bcdcce71f6d8b17f7d3ac3584ea2cd815f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module Oxidized
  class Input
    include Oxidized::Config::Vars

    RescueFail = {
      :debug => [
        Errno::ECONNREFUSED,
      ],
      :warn => [
        IOError,
        Timeout::Error,
        Errno::ECONNRESET,
        Errno::EHOSTUNREACH,
        Errno::EPIPE,
      ],
    }
  end
end