ema_check_disk
The ema_check_disk plug-in performs a base level check of locally attached disks, showing disk state, size, and percent used. Usage specifies the fullness percentages that generate Warning and Critical states versus OK, with the -w and -c parameters.
Information displayed includes:
• Disk state of Critical, Warning, or OK
• Number of disks in state
• Name of device
• Number of bytes used on disk
• Percentage of device in use
The plug-in has the following format:
ema_check_disk [-D {,disk}] -w used% -c used%
-D {,disk}
Specifies the disk. The default is all disks.
-w used%
Specifies the usage threshold for a warning state.
-c used%
Specifies the usage threshold for a critical state.
Example: Check all disks. Produce a warning when disk is 75% full, a critical flag at 90%, and OK otherwise.
ema_check_disk -w 75 -c 90
Last modified date: 08/28/2024