File System

check_e2fs_next_fsck

Description:

This script checks all mounted ext2/3
filesystems with dumpe2fs/tune2fs. It checks the
mount count againts the max and also the
next scheduled check.

It gives WARNING in case there is 7 or less
days to next check of if mount counter is
nearing the max.

It gives ERROR if mountcount=Max or if next
check is in the past. Both errors mean that
the next reboot will start fsck.

Current Version

1.7

Last Release Date

2011-06-24

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Files
Project Notes
# /etc/nagios/scripts/check_e2fs_next_fsck OK, filesystems /dev/mapper/vg_ulmo-lv_root /dev/vda1 are fsck safe -------------------------------------- # /etc/nagios/scripts/check_e2fs_next_fsck ERROR: server12: /dev/mapper/es-es next fsck check time is in the past ( Fri Apr 24 11:43:49 2015), next restart causes FSCK !! ; /dev/mapper/es-es next fsck check time is in the past ( Fri Apr 24 11:43:49 2015), next restart causes FSCK !!
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
1
Views
94,483