Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

count_file

Rating
2 votes
Favoured:
0
Hits
147604
Files:
FileDescription
count_file.plperl script
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check a directory for a min/max number of files for unix/windows
$ count_file.pl
Usage: \"Filename\" \"Critical number of files\" \"Warning number of files\"
examples: count_file.pl 1 10
examples: count_file.pl 3:10 1:3


ex:
a directory which contains error files and must stay empty
a tmp dir which have to stay under a practical limit
Reviews (1)
byacsrks, February 22, 2010
1 of 1 people found this review helpful
Does not have the ability to filter for specific types or names of files in the directory.