-
Notifications
You must be signed in to change notification settings - Fork 8
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
Slack alerts #557
Comments
Here is what is visible outside the docker container:
And from within the
So unfortunately, this doesn't allow us to determine if pocs is still running as we can only tell if an ipython session is open (if pocs fails within the session it doesnt end). If we run pocs via a script and a regular python shell then we can use an alert system that monitors the output of |
Better option would be to just parse the logs for critical errors or note if there hasn't been a log entry for a while and ping slack |
Once Huntsman-Pocs is running reliably, we will enter a phase were the system will be running for consecutive nights without supervision. At this point we want to have a convenient alert system that will notify us via slack when something has gone wrong and human intervention is required. A barebones system would simply poll to check if tell-tale process is running that would indicate if pocs is running or not and would alert us via slack if it isn't.
Some potential alerts that could be implemented are:
ps -fA | grep python
and check if the python process is pocs related and raise alert if none is found)The text was updated successfully, but these errors were encountered: