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
243400
Files:
FileDescription
check_mountpoints.pycheck_mountpoints.py
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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