Server-Monitoring-Script icon indicating copy to clipboard operation
Server-Monitoring-Script copied to clipboard

Feature: Support for threshold error reporting to mail/slack

Open jnduli opened this issue 5 years ago • 2 comments

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?

jnduli avatar Jan 21 '20 12:01 jnduli

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

mfcodeworks avatar Feb 07 '20 04:02 mfcodeworks

Cool. I'll work on this and submit a PR.

On 20/02/06 08:46PM, MF Softworks wrote:

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

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/mfsoftworks/Server-Monitoring-Script/issues/3#issuecomment-583232163

jnduli avatar Feb 09 '20 17:02 jnduli