Ducktor (pronounced as dʌk.tər) is a Go application designed to manage and monitor the health of various services. It supports multiple health check interfaces, including HTTP/HTTPS, TCP, and more.
- Clone the repository:
git clone https://github.com/yourusername/ducktor.git
cd ducktor- Use the defined Nix development environment:
nix-shell- Build the application
task buildThe binary should be in the /bin directory
Run Ducktor with a configuration file:
./ducktor -config config.tomlconfig: Path to the TOML configuration file.
Configuration is managed via a TOML file. Here's is an example configuration:
Ducktor currently supports the following health check interfaces:
- HTTP/HTTPS: Checks the response status code of an HTTP/HTTPS endpoint.
- TCP: Checks if the connection can be created or not.
More interfaces like systemd, GRPC, ICMP, and custom scripts are planned.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.