NAME
Monitoring::Sneck::Checks::disk - checks how full file systems are
VERSION
Version 0.0.1
SYNOPSIS
disk_root|perl:disk -p /
disks|perl:disk -p / -p /var -p /usr/home -w 85 -c 95 -W 80 -K 90
DESCRIPTION
Checks the percent used of each file system, and optionally of its inodes, through Filesys::Df. Used is as df shows it, out of what users may use, so space kept for root is left out of the total. A path that can not be looked at is CRITICAL.
OPTIONS
- -p, --path :: A path on the file system. May be given more than once. Required.
- -w, --warning :: Range of percent used. Default :: 80
- -c, --critical :: Range of percent used. Default :: 90
- -W, --inode-warning :: Range of percent of inodes used.
- -K, --inode-critical :: Range of percent of inodes used.
METHODS
check
Does the check.