File System

check_next_fsck

Description:

Check the date and mount count of the device passed by parameter. It’s able to manage devices not configurated to be checked by fsck (values -1 and none in max mount count and date interval).

Current Version

1

Last Release Date

2010-03-20

Compatible With

  • Nagios 3.x

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
Check the date and mount count of the device passed by parameter. It's able to manage devices not configurated to be checked by fsck (values -1 and none in max mount count and date interval). Needs sudo without passwd to run tune2fs Usage: check_next_fsck -w DAYS,MOUNTS -c DAYS,MOUNTS -d DEVICE In example: /usr/lib/nagios/plugins/check_next_fsck -w 7,10 -c 4,5 -d /dev/sda1 Show warning 7 days or 10 mounts before /dev/sda1 needs a fsck or critical 4 days or 5 mounts.
Reviews (1) Add a Review
Good, but it doesn't control all posibilities
by jruizoctanio, January 31, 2013
Good script, but it doesn't control when a type of check (time or mount count) is disabled.

The script contemplate when for example a device has maximum mount counts disabled, but it does not return any value for that situation.
Helpful? Yes  No 
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
4 (2)
Favorites
0
Views
93,799