Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Has not been tested with other versions of Nagios other than 3.1.4.
Current Version
1.0.1
Last Release Date
2015-07-15
Owner
Jeffrey Scott
Download URL
https://raw.githubusercontent.com/geof2001/nagios_plugins/master/check_file_size
License
GPL
Compatible With
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)
You must be logged in to submit a review.
To:
From: