register-health-check
Register a health check in Consul to monitor service health by HTTP endpoint or TTL, with configurable interval and timeout.
Instructions
Register a health check with Consul
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the health check (defaults to name if not provided) | |
| ttl | No | Time to live for the check (e.g., '10s', '1m') | |
| http | No | HTTP endpoint to check | |
| name | No | Name of the health check | |
| notes | No | Notes about the health check | |
| timeout | No | Timeout for the check (e.g., '5s', '30s') | |
| interval | No | Interval for the check (e.g., '10s', '1m') | |
| serviceId | No | ID of the service to associate the check with |