File System

check_mount by fuqu

Description:

check if a specifoc mountpoint is mounted, optional check filesystemtype, and mountoptions

USAGE: ./check_mount -m MOUNTPOINT [-t TYPE] [-o OPTIONS]

Current Version

1.0

Last Release Date

2014-01-27

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Files
Project Notes
check if a specifoc mountpoint is mounted, optional check filesystemtype, and mountoptions USAGE: ./check_mount -m MOUNTPOINT [-t TYPE] [-o OPTIONS] Example: ./check_mount -m /backup -t xfs -o rw noexec Output might be: ./check_mount -m /backup CRITICAL: /backup is NOT Mounted ./check_mount -m / -t xfs OK: / is mounted (/dev/xvda2), type is xfs ./check_mount -m / -t xfs -o rw OK: / is mounted (/dev/xvda2), type is xfs, options OK ./check_mount -m / -t xfs -o ro WARNING: / is mounted (/dev/xvda2), type is xfs, options NOT OK
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
26,857