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_diskrw

Rating
0 votes
Favoured:
0
Hits
144245
Files:
FileDescription
check_diskrwcheck_diskrw
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.

Simple bash script, that checks is location (directory) is read/write.
Simple bash script, that checks is location (directory) is read/write. Get one parameter - location to check. It touches random file in location, then read it, and check if it is the same file. If not CRITICAL, other OK.
Example: check_diskrw /home
Checks is directory /home is read/write.