check_filecount_dir.rb

check_filecount_dir

Ruby script to get the number of files in a directory listing and return a Nagios state if the count exceeds the threshold. Script is a port of check_filecount_dir.pl.

There is also a ruby2exe binary compiled version attached, for hosts without a Ruby interpreter.