Server Disk_Check ^^^^^^^^^^^^^^^^^ What is the Server Disk_Check Command? -------------------------------------- The ``Server Disk_Check`` command checks for space on local disks. If a disk usage surpasses a threshold email notifications can be sent out to specified users. Example: lucy disk_check -t 99 -email support@d3view.com -hostname www.d3view.com Additionally ignored lines can be specified to hide drives which may always be set at 100% usage but are not important for email reports. Arguments --------- +-----------------------------------+------------------+ | Parameter name | Requirement | +===================================+==================+ +-----------------------------------+------------------+ |:option:`-h` `--help` | optional | +-----------------------------------+------------------+ |:option:`-i` `-ignored` | optional | +-----------------------------------+------------------+ |:option:`-t` `-threshold` | optional | +-----------------------------------+------------------+ |:option:`-e` `-email` | optional | +-----------------------------------+------------------+ |:option:`-hostname` | optional | +-----------------------------------+------------------+ |:option:`-dry-run` | optional | +-----------------------------------+------------------+ |:option:`-otype` | optional | +-----------------------------------+------------------+ .. option:: -h Help .. option:: -i Lines to ignore (comma separated) .. option:: -ignored Lines to ignore (comma separated) .. option:: -t Usage percent threshold (0-100) .. option:: -threshold Usage percent threshold (0-100) .. option:: -e Email addresses to send to (comma separated) .. option:: -email Email addresses to send to (comma separated) .. option:: -hostname Hostname of server that is running out of space. .. option:: -dry-run No emails will be sent, the usage will just be checked. .. option:: -otype Terminal output type. If none is selected, no output will be written. Configuration ------------- SMTP Server should be able to send out emails.