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

check_dir_files

Rating
2 votes
Favoured:
0
Current Version
1.0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
  • Nagios Fusion
Owner
Hits
38743
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!
Counts how many files are in the directory and subdirectories
written in bash
orginal from Gerd Stammwitz
examples:
./check_dir_files.sh -d /var/spool/escenic/newsgate/Extra/export/ -w 70 -c 100 -f
OK - There are 0 files in dir /var/spool/escenic/newsgate/Extra/export/|'size'=0;70;100


usage
./check_dir_files.sh
Usage: check_dir_files.sh -d|--dirname [-w|--warning ] [-c|--critical ] [-f|--perfdata]
Usage: check_dir_files.sh -h|--help
Usage: check_dir_files.sh -V|--version
Reviews (2)
Unable to download plugin.... Please provide alternative link.
bysth_bytelab, August 21, 2016
Hi

I am new to NagiosXI and plugins in general so I want to know if I can use this plugin to monitor file creation on a windows 2008 server.
I also have a question about how the commandline for the plugin are supposed to look?

Thanks