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 by fuqu

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2014-01-27
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
26506
Files:
FileDescription
check_mountcheck_mount
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check if a specifoc mountpoint is mounted, optional check filesystemtype, and mountoptions

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