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
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!