首页 > 代码库 > The check_ping Plugin

The check_ping Plugin

https://www.monitoring-plugins.org/doc/man/check_ping.html

check_ping v2.2.git (monitoring-plugins 2.2)Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>Copyright (c) 2000-2007 Monitoring Plugins Development Team    <devel@monitoring-plugins.org>Use ping to check connection statistics for a remote host.Usage:check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>% [-p packets] [-t timeout] [-4|-6]Options: -h, --help    Print detailed help screen -V, --version    Print version information --extra-opts=[section][@file]    Read options from an ini file. See    https://www.monitoring-plugins.org/doc/extra-opts.html    for usage and examples. -4, --use-ipv4    Use IPv4 connection -6, --use-ipv6    Use IPv6 connection -H, --hostname=HOST    host to ping -w, --warning=THRESHOLD    warning threshold pair -c, --critical=THRESHOLD    critical threshold pair -p, --packets=INTEGER    number of ICMP ECHO packets to send (Default: 5) -L, --link    show HTML in the plugin output (obsoleted by urlize) -t, --timeout=INTEGER    Seconds before connection times out (default: 10)THRESHOLD is <rta>,<pl>% where <rta> is the round trip average traveltime (ms) which triggers a WARNING or CRITICAL state, and <pl> is thepercentage of packet loss to trigger an alarm state.This plugin uses the ping command to probe the specified host for packet loss(percentage) and round trip average (milliseconds). It can produce HTML outputlinking to a traceroute CGI contributed by Ian Cass. The CGI can be found inthe contrib area of the downloads section at http://www.nagios.org/Send email to help@monitoring-plugins.org if you have questions regardinguse of this software. To submit patches or suggest improvements, send emailto devel@monitoring-plugins.org

The check_ping Plugin