Nov 1, 2018

How to alert disk space using Monit

In monit configuration file:
check device datafs with path /var/lib/mysql
if space usage > 90% then alert
if space usage > 99% then stop
See also:

How To Install and Configure Monit