Home Directory Plugins Operating Systems Unix/Linux Check Filesystem Status by Directory

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

Unix/Linux Check Filesystem Status by Directory

Rating
0 votes
Favoured:
0
Last Release Date
2014-03-17
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Hits
26247
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!
Shell script that recursively checks for filesystem input/output
errors by directory using stat. Depth is configurable.
Nagios plug-in that recursively checks for filesystem input/output
errors by directory using stat.

Options:

-p Directory or mountpoint to begin
-d Depth i.e. level of subdirectories to check (def: 1)

# Author: Jon Schipp

########
# Examples:

# 1.) Return critical if stat does not exit successfully
# $ ./check_filesystem_errors.sh -p /mnt -d 2