class LogStash::Inputs::Ping::IcmpProbe

Public Class Methods

new() click to toggle source
# File lib/logstash/inputs/ping.rb, line 159
def initialize
    @delegate = Net::Ping::ICMP.new
end

Public Instance Methods

duration() click to toggle source
# File lib/logstash/inputs/ping.rb, line 167
def duration ()
  @delegate.duration
end
ping(host) click to toggle source
# File lib/logstash/inputs/ping.rb, line 163
def ping (host)
    @delegate.ping (host)
end