PingModule pings local networks to discover new hosts.
Details
The module relies on pro-bing library.
A single ping attempt is made on every host of the local networks (the host may belong to several networks). Only IPv4 networks with prefix length >=20 are treated. The ping timeout is hardset to 300ms.
Options
| Name | Type | Default | Flag |
|---|---|---|---|
| timeout | time.Duration |
300 * time.Millisecond | --ping-timeout |