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
147950
Files:
FileDescription
count_file.plperl script
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.