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
10891
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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!