Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin will give you the number of file or subdirectory in a directory and can also give its size. The output of the script allows for a graphical If you have an idea for other options ....
Current Version
V1
Last Release Date
June 17, 2011
Owner
Community Member
Compatible With
Options :
-w, --warning NUMBER (required) NUMBER necessary to result in warning status -c, --critical NUMBER (required) NUMBER necessary to result in critical status -p, --path STRING (required) Path for the execution -h, --hidden STRING yes=count hidden subdirectory or file (default=no) -f, --filter STRING Only for the option countfiledirectory. Eg: For filter file with the extension log, tape -f log -o --option STRING (required) sizedirectory=Display results in megabyte for directory countsubdirectory=Count subdirectory in directory, not in sub-subdirectory countfiledirectory=Count file in directory, not in sub-subdirectory
Example 1 : $0 -o countsubdirectory -p /var/log/ -h yes -w 400 -c 450 Example 2 : $0 -o sizedirectory -p /var/log/ -w 80 -c 150 Example 3 : $0 -o countfiledirectory -p /var/log/ -f log -w 40 -c 45
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!