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

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
35202
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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