dtctl load-balancer health-monitors
Usage
dtctl load-balancer health-monitors <id>
Aliases
lhm
Description
Retrieve the health monitors of a load balancer by ID. A health monitor periodically checks member health and removes unhealthy members from rotation.
Example
dtctl load-balancer health-monitors <lb-id>
Response
In text output (the default), this command returns the following columns: ID, Name, Type, Delay, Timeout, Max Retries, Max Retries Down, HTTP Method, URL Path, Expected Codes, Admin State Up, Project ID, Pools, Provisioning Status, Operating Status, Created At, Updated At.
Pass --output json to get the full response object instead.
Related Commands
| Command | Description |
|---|---|
| dtctl load-balancer create-health-monitor | Create a health monitor |
| dtctl load-balancer update-health-monitor | Update a health monitor |
| dtctl load-balancer delete-health-monitor | Delete a health monitor |
| dtctl load-balancer health-monitor-details | Show a health monitor |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |