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

check_mount

Rating
2 votes
Favoured:
0
Current Version
1.0
Last Release Date
2010-08-31
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
License
GPL
Hits
102505
Files:
FileDescription
check_mount.plcheck_mount.pl

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

A Nagios-plugin to check if a device is mounted.
Those of you that have a bigger NFS infrastructure may know the problem, that some shares may unmount itself or won’t be mount correctly after reboot. This plugin checks whether a device a mounted on a specific mount point.

To run it just give it the mount point you’re looking for:

USAGE: ./check_mount.pl
-m MOUNTPOINT wich mountpoint to check
[-t TYPE] optionally check whether it's this kind of fs-type

If you additionally define which mount type you expect, this plugin will check whether your expectation matches. Just try it out ;)
Maybe you have to modify the location of your utils.pm by updating the lib-path in line 13

More information at http://binfalse.de
Reviews (1)
bycyberflow, June 8, 2014
if used inserted mount like:
device1 /var
device2 /var/log

if you check /var, but have only /var/log, check was return OK.