Monitoring NFS mounts

Matthew Pounsett matt at conundrum.com
Mon Dec 17 18:18:41 CET 2018


Before I start writing code that might be reinventing the wheel... does
anyone have a favourite method for monitoring the presence of an NFS
mount?

check_disk is fine if the NFS volume is mounted and something goes wrong
with it (like the NFS server going down) but gives a false positive if the
volume simply isn't mounted.  In that case it gives an OK result based on
the closest enclosing volume of the mount point.

For example, if I'm using check_disk to monitor an NFS volume mounted at
/mnt/foo, it will correctly fail if the remote NFS server stops responding,
but will report success if I 'umount /mnt/foo'.  In that case it'll report
OK and give the stats for the root ("/") volume.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20181217/8302cf7e/attachment.html>


More information about the Help mailing list