From 10.1.32, 10.2.14 and 10.3.6 onwards, there is an information_schema plugin called DISKS using which information about the disk space situation on the server can be obtained. Subsequent commits will add configuration options for specifying limits and take the functionality in use in monitors where it makes sense.