Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
A Nagios-plugin to check if a device is mounted.
Current Version
1.0
Last Release Date
2010-08-31
Owner
Martin Scharm
Website
https://binfalse.de
Download URL
https://blog.binfalse.de/wp-content/uploads/2010/08/check_mount.pl
License
GPL
Compatible With
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 <a href="http://blog.binfalse.de/software/nagios/check_mount-pl/">http://binfalse.de</a>
if used inserted mount like: device1 /var device2 /var/log if you check /var, but have only /var/log, check was return OK.
You must be logged in to submit a review.
To:
From: