6.13. 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
   
-h –help optional
-i -ignored optional
-t -threshold optional
-e -email optional
-hostname optional
-dry-run optional
-otype optional
-h

Help

-i

Lines to ignore (comma separated)

-ignored

Lines to ignore (comma separated)

-t

Usage percent threshold (0-100)

-threshold

Usage percent threshold (0-100)

-e

Email addresses to send to (comma separated)

-email

Email addresses to send to (comma separated)

-hostname

Hostname of server that is running out of space.

-dry-run

No emails will be sent, the usage will just be checked.

-otype

Terminal output type. If none is selected, no output will be written.

Configuration

SMTP Server should be able to send out emails.