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

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
106295
Files:
FileDescription
check_mount.plcheck_mount.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.