Network and Systems Management

check_mount

Description:

A Nagios-plugin to check if a device is mounted.

Current Version

1.0

Last Release Date

2010-08-31

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x

License

GPL


Project Files
Project Notes
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) Add a Review
crude grep
by cyberflow, June 30, 2014

if used inserted mount like: device1 /var device2 /var/log if you check /var, but have only /var/log, check was return OK.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
1 (2)
Favorites
0
Views
106,724