Sends alerts via Mailgun when conkie-stats reports dangerous RAM, disk, or temperature values.
All are required:
SEND_EMAILS_FROMe.g. Your Trusty Server email@example.com
SEND_EMAILS_TOe.g. Admin firstname.lastname@example.org
MIN_MESSAGE_INTERVALMinimum amount of time in minutes after sending a warning or danger message to then send a recovery message for the same stat. Intended to prevent lots of emails when a stat wavers back and forth around a threshold. Recommended: 60.
MEMORY_WARN0-1 % of total RAM + swap use over which to warn
MEMORY_DANGERmore severe warning
DISK_WARN0-1 % of disk use (for any volume) over which to warn
DISK_DANGERmore severe warning
TEMP_WARNtemperature in Celsius over which to warn
TEMP_DANGERmore severe warning
POLL_FREQInterval in ms at which conkie-stats checks for new stats
Contributions are welcome. A minimal approach was taken, but if you wish to use this and also wish to have more functionality or customization than currently exists, I'd love to pull your additions.
Docker Pull Command