Home Directory Plugins Operating Systems Linux check nfs mountpoints

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check nfs mountpoints

Rating
1 vote
Favoured:
0
Hits
242861
Files:
FileDescription
check_mountpoints.pycheck_mountpoints.py
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Compares /etc/fstab and /proc/mounts
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