Skip to main content

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.

CommandDescription
dtctl load-balancer create-health-monitorCreate a health monitor
dtctl load-balancer update-health-monitorUpdate a health monitor
dtctl load-balancer delete-health-monitorDelete a health monitor
dtctl load-balancer health-monitor-detailsShow a health monitor

Global Flags​

OptionDescription
--api-urlSend this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1")
--config, -cSpecify a custom config file
Default: ~/.config/dtctl/config.yaml
--no-headersOmit the column headers, for scripting
Default: false
--output, -oOutput format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line
Default: text