sensu-plugins / sensu-plugins-filesystem-checks

This plugin provides native instrumentation for monitoring and metrics collection, including:health, usage, and various metrics of filesystem attributes.
http://sensu-plugins.io
MIT License
8 stars 25 forks source link

check-fs-writable.rb only checks LVM filesystems #12

Open dmanchado opened 8 years ago

dmanchado commented 8 years ago

check-fs-writable.rb will not check filesystems that are not under LVM.

Perhaps it would make sense to get all filesystems and exclude from checking all those whose type is none, iso9660, tmpfs. sysfs, devpts (perhaps any other).

mount | grep -ve none -ve devpts -ve proc -ve sysfs -ve tmpfs -ve iso9660