Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_mount by fuqu
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!
USAGE: ./check_mount -m MOUNTPOINT [-t TYPE] [-o OPTIONS]
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
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)
Be the first to review this listing!