-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/watchdog #220
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
Merged
Merged
Feature/watchdog #220
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…t service. Till now we added the ability to send messages to slack using a slack_hook. Next we will do some diagnostics on docker containers itself.
…onfly stand alone script. That has several advantages, one of it being that we do not depend on rabbit broker, and thus the checks still work if rabbit broker went down.
…mented by Paul K. but not yet rolled out. We should update this once the fix is rolled out.
…ong in your setup. There are two different types of checks: 1. we check if all docker containers are running and not having errors, 2. we check some endpoints and see if they fullfill some condition. If there are problems we send a message to slack. The script is configured by a yaml file. The example yaml file is included as well as a docker-compose file that gives an example how to setup that script with docker compose. Testing this script worked well.
…bles it to prevent others posting to your workspace, this is a place holder and just for demonstration purpose
…you do not need to bind it from external, just the config file is needed
|
Working from high-level comments to lower:
|
…evice or rabbit broker is down, we want this script to not crash at all
… presure gauge values. There were no type conversion for numbers, the method was fixed / hard coded to 'not_equal' and the error message came not through correctly. We fixed it by adding type conversion based on the value type itself, using the method provided in the config file and getting the error messages through.
Contributor
Author
|
Thanks a lot Walter,
|
…receive a signal and also notifies when the alarm system stopped (which is also caused by a signal).
…onment variables instead
…the example folder
nsoblath
approved these changes
Jul 15, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This dragonfly script is intendet to be an alarm system for your setup. There are two different things that the script checks.
If a problem is detected, the script will send a message to slack to warn you.
The script is run in a docker container and an example docker-compose.yaml file is added to see how to setup the docker container.
The script is configured via a yaml config file. The syntax is similar to our normal dripline config files. An example yaml config file is included in the pull request. The system works fine in the Mainz setup.