test_proxy

Tests whether a HTTP(S) proxy identified by the specified name can be reached.

Syntax

  emcli test_proxy
       -name="<name>"
        [-timeout=<minutes>]

[ ]  indicates that the parameter is optional.

Options

  • -name

    Name identifying the proxy.

  • -timeout

    Timeout, in minutes, for proxy test procedures. Timeout can be any value between 1 and 60 minutes. Default is 5 minutes.

Example

The following command tests whether a proxy identified by the name "us-proxy-1" is reachable. The test procedure times out after 2 minutes.

   emcli test_proxy
       -name="us-proxy-1"
       -timeout=2