File System

check_mount

Description:

Bash script to check mounted devices, passing arguments mount point OR device, and type of filesystem (useful for nfs mountpoints).

Current Version

Last Release Date

June 8, 2009

Compatible With


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!
Project Files
Project Notes
usage: ./chech_mount.sh -p [mountpoint or device] -t [type of filesystem]
Reviews (1) Add a Review
Good but...
by NetVicious, March 31, 2012
Good and easy one. Things to improve:
- Translate to english please (some things are in portuguese)
- Output should be as nagios standard using the starting string "OK - ..." or "CRITICAL - ..."
- Uses a simply grep. If I check for mount point /home/point and this one if not mounted but /home/point2 it's mounted the script will return one OK. Take care on this if you use this script.
Helpful? Yes  No 
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
0
Views
108,958