Skip to main content

ICMP Ping CLI Documentation

The MetricsHub Ping CLI is a command-line utility you can use to execute ICMP ping requests against your resources to verify that they can be reached within an acceptable response time.

Syntax

pingcli HOSTNAME --timeout TIMEOUT

Options

OptionDescriptionDefault Value
HOSTNAMEHostname or IP address of the host to ping. This option is required.None
--timeoutTimeout in seconds for the ICMP Ping operation.5
-vEnables verbose mode. Use -v for basic logs, -vv for detailed logs.None
-h, --helpDisplays detailed help information about available options.None

Examples

Example 1: Basic ICMP Ping

pingcli dev-01

Example 2: ICMP Ping with Custom Timeout

pingcli dev-01 --timeout 10

Example 3: ICMP Ping with Debug Verbose Mode

pingcli dev-01 --timeout 5 -vvv