Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a daemon mode for container checking #11

Open
josegonzalez opened this issue Jan 17, 2023 · 2 comments
Open

Add a daemon mode for container checking #11

josegonzalez opened this issue Jan 17, 2023 · 2 comments

Comments

@josegonzalez
Copy link
Member

Description of feature

In daemon mode, the container(s) would be checked according to the settings of each healthcheck. Some notes:

  • --filter: check containers by docker container filters (updating as containers start/stop). This should also be added to the check command.
  • A new on_failure parameter for healthchecks:
    • command: Runs a command on the host with data about the healthcheck and the failing container.
    • url: Sends the failed check data to the specified url
    • on_nonzero_exit: Whether to trigger the on_failure step if the watched container has a non-zero exit
noeleont added a commit to noeleont/docker-container-healthchecker that referenced this issue Mar 21, 2023
as mentioned in dokku#11 the on_failure parameter contains:

command:

Runs a command on the host with data about
the healthcheck and the failing container.

url:

Sends the failed check data to the specified url
@josegonzalez
Copy link
Member Author

Added #44 to track config-less healthcheck definitions.

noeleont added a commit to noeleont/docker-container-healthchecker that referenced this issue Jun 13, 2023
as mentioned in dokku#11 the on_failure parameter contains:

command:

Runs a command on the host with data about
the healthcheck and the failing container.

url:

Sends the failed check data to the specified url
@josegonzalez
Copy link
Member Author

Okay now we just need a daemon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant