summaryrefslogtreecommitdiff
path: root/lib/oxidized/input/input.rb
blob: d59c4f3c99891f4c6e535db5eab21078127915ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Oxidized
  class Input
    RescueFail = [
      Timeout::Error,
      Errno::ECONNREFUSED,
      Errno::ECONNRESET,
      Errno::EHOSTUNREACH,
      Errno::EPIPE,
    ]
    class << self
      def inherited klass
        Oxidized.mgr.loader = { :class => klass }
      end
    end
  end
end