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
26875
Files:
FileDescription
check_mountcheck_mount
Nagios CSP

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