NFS

check_nfs_export

Description:

I threw this together quick, it uses the local output of showmount -e to verify a specific filesystem is exported.
Does NOT check if portmapper is running
Does NOT check what hosts have permission to the mountpoint
ONLY tested on CentOS 6.4 currently but I don’t expect issues on other OSes

check_nfs_export.pl -H -p [-t timeout][-c ]
-H hostname to check
-p path that is supposed to be exported
-t timeout
-c showmount command, defaults to /usr/sbin/showmount

Version 0.10

added timeout, if no path is set, default to /.* to match any export

Current Version

0.10

Last Release Date

2014-04-08

Compatible With

Owner

License

GPL


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!
Project Files
Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
23,376