Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_file_size
1.0.1
2015-07-15
- Nagios 3.x
GPL
10345
Options:
-r Check if file is too small rather than too large. Warn size is not required and will be ignored if it is when checking if file is too small.
e.g. file size expected is 4096 bytes but is only
1024 bytes.
./check_file_size -c 4095 -r -f /tmp/< somefile >
Usage:
check_file_size [-w < bytes >] [-c < bytes >] [-r ] -f file
check_file_size [-h | --help]
check_file_size [-V | --version]
[-c < bytes >] File must be no larger than this size (default: warn 1024000 bytes, crit 4096000)
[-c < bytes > -r] File must be no smaller than this size (default: crit 4096000 bytes)
-r Check if file is too small rather than too large. Warn size is not required and will be ignored if it is when checking if file is too small.
e.g. file size expected is 4096 bytes but is only
1024 bytes.
./check_file_size -c 4095 -r -f /tmp/< somefile >
Usage:
check_file_size [-w < bytes >] [-c < bytes >] [-r ] -f file
check_file_size [-h | --help]
check_file_size [-V | --version]
[-c < bytes >] File must be no larger than this size (default: warn 1024000 bytes, crit 4096000)
[-c < bytes > -r] File must be no smaller than this size (default: crit 4096000 bytes)
Reviews (0)
Be the first to review this listing!