Skip to content

Net-fping is an fping wrapper that allows fast ping checks on multiple remote hosts

Notifications You must be signed in to change notification settings

nckrse/net-fping

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Net::Fping

A ruby gem to interface with fping.

Usage

Pretty straight forward:

require 'net/fping'

alive = Fping.alive(["10.0.0.1", "10.0.0.2", "10.0.0.3"])
> ["10.0.0.1", "10.0.0.3"]

alive = Fping.dead(["10.0.0.1", "10.0.0.2", "10.0.0.3"])
> ["10.0.0.2"]

alive = Fping.alive_in_subnet("192.168.0.0/24")
> ["192.168.0.1", "192.168.0.100", "192.168.0.254"]

alive = Fping.alive_in_range("192.168.0.0", "192.168.0.200")
> ["192.168.0.1", "192.168.0.100"]

About

Net-fping is an fping wrapper that allows fast ping checks on multiple remote hosts

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%