eulb-configure-healthcheck

Configure health checking for instances registered with a load balancer.

Syntax

eulb-configure-healthcheck --healthy-threshold COUNT --interval SECONDS
                           --target PROTOCOL:PORT[/PATH] --timeout SECONDS
                           --unhealthy-threshold COUNT
                           ELB

Options

Option Description Required
--healthy-threshold COUNT Number of consecutive successful health checks required to mark instances as Healthy Yes
--interval SECONDS Approximate interval between health checks Yes
--target PROTOCOL:PORT[/PATH] Connection target for health checks Yes
--timeout SECONDS Maximum health check duration Yes
--unhealthy-threshold COUNT Number of consecutive successful health checks required to mark instances as Unhealthy Yes
ELB Name of the load balancer to modify Yes

Common Options

Option Description
--region USER@REGION Name of the region or user in config files to use to connect to the service
-U URL, --url URL Load balancing service endpoint URL
-I key_id, --access-key-id key_id User's access key ID
-S key, --secret-key key User's AWS secret key
--show-empty-fields Show empty fields using (nil) as a placeholder to indicate that this data was not requested. Empty fields are not shown by default.

Output

Eucalyptus returns a confirmation of the health check.

Example

eulb-configure-healthcheck --healthy-threshold=30 --interval=60 -t HTTP:80/index.html --timeout=120 --unhealthy-threshold 360 MyLoadBalancer
HEALTH_CHECK     HTTP:80/index.html     60     120     30     360
x