sensu-plugins-disk-checks icon indicating copy to clipboard operation
sensu-plugins-disk-checks copied to clipboard

Exclude read-only filesystems from check-disk-usage.rb

Open DrMurx opened this issue 6 years ago • 0 comments

check-disk-usage.rb usually checks all mounted filesystems unless specific ignore/include options are given. However, it doesn't make a lot of sense to check read-only filesystems. My PR #112 addresses this with a new option --ignore-readonly.

However, I'd strongly vote for a breaking change and ignore read-only filesystems by default unless a new parameter --include-readonly is given or such a filesystem's mountpoint is explicitly specified in the -I (:includemnt) option.

DrMurx avatar Feb 05 '19 17:02 DrMurx