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
108331
Files:
FileDescription
check_mount.shShellscript
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.