Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Zygmut/ducktor

Repository files navigation

Ducktor

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.

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/ducktor.git
cd ducktor
  1. Use the defined Nix development environment:
nix-shell
  1. Build the application
task build

The binary should be in the /bin directory

Usage

Run Ducktor with a configuration file:

./ducktor -config config.toml

Command-line Arguments

  • config: Path to the TOML configuration file.

Configuration

Configuration is managed via a TOML file. Here's is an example configuration:

Health Check Interfaces

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.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A health checker to rule them all

Resources

License

Stars

Watchers

Forks

Packages

No packages published