Red Hat Training

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

8.85. neutron lb-healthmonitor-create

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

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.

--admin-state-down


        Set admin state up to false.

--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".

--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).

--delay DELAY


        The time in milliseconds between sending probes to
      members.

--max-retries MAX_RETRIES


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

--timeout TIMEOUT


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

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


      One of the predefined health monitor types.