Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Checks a given path for an amount of files and returns warning/critical including performance data Also supports include/exclude filelists and multiline output
Current Version
1.2
Last Release Date
2015-03-17
Owner
Oliver Skibbe
Website
http://oskibbe.blogspot.de
Download URL
https://github.com/riskersen/Monitoring/blob/master/Files/check_file_count.sh
License
GPL
Compatible With
Checks a given path for a amount of files and returns warning/critical including performance data
Usage: check_file_count.sh -p path -w warning -c critical -d max-depth -f filelist [-e|-m 1] -w warning count -c critical count -p path to monitor -m flag if path is a mounted path -f pipe separated list of files includes or excludes -e exclude/include list of files flag -d max-depth, how deep to dive into folders
e.g.
# mounted path,max depth 1 => folder only $ check_file_count.sh -p '/mnt/hydpoll' -w 3000 -c 5000 -f "file_to_ignore1|Thumbs.db" -e 1 -d 1 -m 1
You must be logged in to submit a review.
To:
From: