Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

8.109. neutron lbaas-healthmonitor-create

usage: neutron lbaas-healthmonitor-create [-h]
                                          [-f {json,shell,table,value,yaml}]
                                          [-c COLUMN] [--max-width <integer>]
                                          [--noindent] [--prefix PREFIX]
                                          [--request-format {json}]
                                          [--tenant-id TENANT_ID] --delay
                                          DELAY [--name NAME] --timeout
                                          TIMEOUT [--http-method HTTP_METHOD]
                                          [--url-path URL_PATH] --max-retries
                                          MAX_RETRIES
                                          [--expected-codes EXPECTED_CODES]
                                          [--admin-state-down] --type
                                          {PING,TCP,HTTP,HTTPS} --pool POOL
LBaaS v2 Create a healthmonitor.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--tenant-id TENANT_ID


      The owner tenant ID.

--delay DELAY


        The time in seconds between sending probes to members.

--name NAME


        Name of the health monitor.

--timeout TIMEOUT


        Maximum number of seconds for a monitor to wait for a
      connection to be established before it times out. The
      value must be less than the delay value.

--http-method HTTP_METHOD


      The HTTP method used for requests by the monitor of
      type HTTP.

--url-path URL_PATH


        The HTTP path used in the HTTP request used by the
      monitor to test a member health. This must be a string
      beginning with a / (forward slash).

--max-retries MAX_RETRIES


      Number of permissible connection failures before
      changing the member status to INACTIVE. [1..10].

--expected-codes EXPECTED_CODES


      The list of HTTP status codes expected in response
      from the member to declare it healthy. This attribute
      can contain one value, or a list of values separated
      by comma, or a range of values (e.g. "200-299"). If
      this attribute is not specified, it defaults to "200".

--admin-state-down


        Set admin state up to false.

--type {PING,TCP,HTTP,HTTPS}


      One of the predefined health monitor types.

--pool POOL ID


        or name of the pool that this healthmonitor will
      monitor.