Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



HTTP Health Check Commands

Contents

addhttphealthcheck

addhttphealthcheck           Create a new HTTP health check to handle network
                             load balancing.

                             Usage: gcutil [--global_flags] addhttphealthcheck
                             [--command_flags] <http-health-check-name>

                             Flags for addhttphealthcheck:

gcutil_lib.http_health_check_cmds:
  --check_interval_sec: Specifies how often, in seconds, to send a health check.
    The default is 5 seconds.
    (default: '5')
    (an integer)
  --check_timeout_sec: Specifies how long to wait, in seconds, before the health
    check is considered a failure for each individual instance. The default is 5
    seconds.
    (default: '5')
    (an integer)
  --description: An optional HTTP health check description.
    (default: '')
  --healthy_threshold: Specifies how many consecutive health check successes
    must happen before a previously unhealthy VM will be marked healthy. The
    default is 2.
    (default: '2')
    (an integer)
  --host: Specifies the value of the host header used in this HTTP health check
    request. The default value is the external IP address of the forwarding rule
    associated with this target pool.
    (default: '')
  --port: Specifies the TCP port of the HTTP health check request. The default
    port is '80'.
    (default: '80')
  --request_path: Specifies the request path of the HTTP health check request.
    The default path is '/'.
    (default: '/')
  --unhealthy_threshold: Specifies how many consecutive health check failures
    must happen before a previously healthy VM is marked unhealthy. The default
    is 2.
    (default: '2')
    (an integer)

gflags:
  --flagfile: Insert flag definitions from the given file into the command line.
    (default: '')
  --undefok: comma-separated list of flag names that it is okay to specify on
    the command line even if the program does not define a flag with that name.
    IMPORTANT: flags in this list that have arguments MUST use the --flag=value
    format.
    (default: '')

deletehttphealthcheck

deletehttphealthcheck        Delete one or more HTTP health checks.

                             If multiple HTTP health check names are specified,
                             the HTTP health checks will be deleted in parallel.

                             Usage: gcutil [--global_flags]
                             deletehttphealthcheck [--command_flags]
                             <http-health-check-name-1> ...
                             <http-health-check-name-n>

                             Flags for deletehttphealthcheck:

gcutil_lib.command_base:
  -f,--[no]force: Override the "Delete HTTP health check" prompt
    (default: 'false')

gflags:
  --flagfile: Insert flag definitions from the given file into the command line.
    (default: '')
  --undefok: comma-separated list of flag names that it is okay to specify on
    the command line even if the program does not define a flag with that name.
    IMPORTANT: flags in this list that have arguments MUST use the --flag=value
    format.
    (default: '')

gethttphealthcheck

gethttphealthcheck           Get an HTTP health check.

                             Usage: gcutil [--global_flags] gethttphealthcheck
                             [--command_flags] <http-health-check-name>

listhttphealthchecks

listhttphealthchecks         List the HTTP health checks for a project.

                             Usage: gcutil [--global_flags] listhttphealthchecks
                             [--command_flags]

                             Flags for listhttphealthchecks:

gcutil_lib.command_base:
  --columns: A comma-separated list of the desired columns to display. If 'all'
    is specified, then all possible columns will be included. Valid columns are
    <all|name|description|host|port|request-path>.
    (a comma separated list)
  --[no]fetch_all_pages: Deprecated flag.
    (default: 'true')
  --filter: Filter expression for filtering listed resources. See gcutil
    documentation for syntax of the filter expression here:
    http://developers.google.com/compute/docs/gcutil/tips#filtering
  --max_results: Maximum number of items to list [Default is to fetch all].
    (a positive integer)

gcutil_lib.gcutil_flags:
  --sort_by: <name|-name|host|-host|port|-port>: Sort output results by the
    given field name. Field names starting with a "-" will lead to a descending
    order.

gflags:
  --flagfile: Insert flag definitions from the given file into the command line.
    (default: '')
  --undefok: comma-separated list of flag names that it is okay to specify on
    the command line even if the program does not define a flag with that name.
    IMPORTANT: flags in this list that have arguments MUST use the --flag=value
    format.
    (default: '')

updatehttphealthcheck

updatehttphealthcheck        Update an HTTP health check to handle network load
                             balancing.

                             Any fields left unset will be keep their original
                             value.

                             Usage: gcutil [--global_flags]
                             updatehttphealthcheck [--command_flags]
                             <http-health-check-name>

                             Flags for updatehttphealthcheck:

gcutil_lib.command_base:
  -f,--[no]force: Override the "Update HTTP health check" prompt
    (default: 'false')

gcutil_lib.http_health_check_cmds:
  --check_interval_sec: Specifies how often, in seconds, to send a health check.
    (an integer)
  --check_timeout_sec: Specifies how long to wait, in seconds, before the health
    check is considered a failure for each individual instance.
    (an integer)
  --description: An optional HTTP health check description.
  --healthy_threshold: Specifies how many consecutive health check successes
    must happen before a previously unhealthy VM will be marked healthy.
    (an integer)
  --host: Specifies a new value of the host header used in this HTTP health
    check request.
  --port: Specifies a new TCP port of the HTTP health check request.
  --request_path: Specifies a new request path of the HTTP health check request.
  --unhealthy_threshold: Specifies how many consecutive health check failures
    must happen before a previously healthy VM is marked unhealthy.
    (an integer)

gflags:
  --flagfile: Insert flag definitions from the given file into the command line.
    (default: '')
  --undefok: comma-separated list of flag names that it is okay to specify on
    the command line even if the program does not define a flag with that name.
    IMPORTANT: flags in this list that have arguments MUST use the --flag=value
    format.
    (default: '')

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.