Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check if size of the specified files is smaller then given parameters. Return OK if its smaller and Warning or Error if Bytesize is greater as given parameters. The script is written for Linux/Unix. Its tested on RH/CentOS, SuSE, Debian, but should work on all Linux/Unix system with a sh or bash ;) Usage: check_filesize.sh -w BYTESIZE -c BYTESIZE FILE [FILE2 FILE3 ...] Usage: check_filesize.sh -h,--help Options: FILES Check this file(s) -w Bytes Warn if filesize greater then this -c Bytes Critical filesize greater this
Current Version
1.3
Last Release Date
2012-12-30
Owner
Daniel Werdermann
Download URL
https://github.com/echocat/nagios-plugin-check_filesize
License
MPL
Compatible With
check_filesize.sh
# -------------------------------------------------------------------- # check if ... # 1) ... file exists # 2) ... has the correct filesize # --------------------------------------------------------------------
This plugin is NOT developped by the Nagios Plugin group. Please do not e-mail them for support on this plugin, since they won't know what you're talking about.
For contact info, read the plugin itself...
# changes 1.3 # - just update license information # changes 1.2 # - look for logger path via which command # - fixes for solaris support # changes 1.1 # - add license information
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!