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_mount

Rating
1 vote
Favoured:
0
Hits
108989
Files:
FileDescription
check_mount.shShellscript
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!
Bash script to check mounted devices, passing arguments mount point OR device, and type of filesystem (useful for nfs mountpoints).
usage:
./chech_mount.sh -p [mountpoint or device] -t [type of filesystem]
Reviews (1)
byNetVicious, March 25, 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.