Monitoring Agents

NFS Check

Description:

Shell script that checks to ensure NFS mounted directory is writable and lists current open files in that directory. Mimics the behavior of lsof -N but does not use lsof as listing the files in /proc/*/pd/* returned faster.

Would work for any path really, but was built for NFS mounts in mind.

Current Version

1.0

Last Release Date

2016-07-01

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Owner

License

BSD


Project Files
Project Notes
Checks NFS or other path for being writable and returns a count of files currently open to that directory / path. Script was intended to notify admins of high NFS mount usage. Does not include a check that the NFS drive is mounted, so could in theory check the empty directory where the mount should be without an error. You will need to monitor that the NFS mounts exist using another agent. Very simple script, feel free to modify , edit and re-use as needed. Please provide credit if and when appropriate.
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
8,484