Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check nfs mountpoints
Simple python-Script that parses and compares /etc/fstab and /proc/mounts and checks if all nfs-Partitions are mounted(Doesn't check for sanity or mount-options like noauto). Could be easily extended to check other types too...
Reviews (1)
bypescobar, November 3, 2011
simple and works....
I just modified line 20 to this:
if 'nfs' in fstabtype and 'nfs' in proctype:
this way works for both nfs3 and nfs4 machines
I just modified line 20 to this:
if 'nfs' in fstabtype and 'nfs' in proctype:
this way works for both nfs3 and nfs4 machines