Skip to main content

dtctl load-balancer update-health-monitor

Usage​

dtctl load-balancer update-health-monitor [flags]

Aliases​

uhm

Description​

Update a health monitor's interval, timeout, thresholds, or URL path.

Example​

dtctl load-balancer update-health-monitor --lb-id <lb-id> --monitor-id <monitor-id> --interval 10 --timeout 7

Flags​

OptionDescription
--healthy-threshold, -vConsecutive successful checks before a member is marked healthy
--interval, -nSeconds between health checks
--lb-id, -iID of the load balancer (required)
--monitor-id, -mID of the load balancer health monitor (required)
--path, -uURL path to probe (for HTTP/HTTPS types), e.g. /healthz
--timeout, -tSeconds to wait for a probe response before it fails
--unhealthy-threshold, -xConsecutive failed checks before a member is marked unhealthy
CommandDescription
dtctl load-balancer create-health-monitorCreate a health monitor
dtctl load-balancer delete-health-monitorDelete a health monitor
dtctl load-balancer health-monitor-detailsShow a health monitor
dtctl load-balancer health-monitorsList health monitors

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