sensu-plugins / sensu-plugins-disk-checks

This plugin provides native disk instrumentation for monitoring and metrics collection, including: health, usage, and various metrics.
http://sensu-plugins.io
MIT License
27 stars 63 forks source link

Option to exclude read-only filesystems from disk-check-usage #112

Closed DrMurx closed 3 years ago

DrMurx commented 5 years ago

Note: This PR is not yet complete and I'll fill the missing changelog/readme soon.

General

Purpose

Most of the time, it doesn't make sense to check read-only filesystems for their disk usage. This PR adds an option to exclude those filesystems from being checked.

Actually, it would be best have read-only filesystems to exclude them by default and inverse the meaning of such an option, but that is a breaking change.

Known Compatibility Issues