About ping
|
basics
|
|
syntax
|
module ping {
[all <boolean>]
}
|
Dependencies
- Executables
- fping is required for full
functionality
Arguments
Name |
Type |
Value |
all |
optional boolean, default is no |
Ping all interfaces on target host. This option
is only available if fping is available.
|
Description
The ping module performs an ICMP echo reply query on the
host to be checked. The module will use the "best available" method
to perform this check:
- If fping is available, the module will use it. This is
currently the most efficient method.
- Otherwise, if the module is running as root (this is typically not the
case), the module will use Perl's Net::Ping module.
- Otherwise, the module will use the OS version of ping.
This is the least efficient method.
See also the pingx module, which has no
external dependencies and may operate significantly faster.
When using fping, the ping module does not support
execution duration measurement.
Examples
- To ping hosts:
module ping {}
$Date: 2006/11/19 21:14:19 $
$Revision: 0.9 $
|
keywords
all
|