Open
Description
I'm looking to use this for reporting errors to slack/email using cronjobs as suggested.\
How I think about this is that I set up flags to check for:
- if memory usage is more than 80% send out an alert
- if disk usage is more than 80% send out an alert
How it would work is maybe by having an alert mode eg. python monitor.py --error-mode
, and messaging to either slack or email can be set up by piping the output to other tools e.g. slacktee.
Would this be something you're willing to accept as a feature/PR?
Activity
mfcodeworks commentedon Feb 7, 2020
I'm very busy at the moment so I won't have time to work on this but if you want to work on a reporting function to include I can see how to merge the PR
jnduli commentedon Feb 9, 2020