
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
Owner
Website
License
GPL
Project Files
File | Description |
---|---|
check_mount.pl |
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
if used inserted mount like:
device1 /var
device2 /var/log
if you check /var, but have only /var/log, check was return OK.
Page Sections
Project Stats
Rating
1 (2)
Favorites
0
Views
106,723