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


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.



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,992