README.md in sensu-plugins-disk-checks-3.1.0 vs README.md in sensu-plugins-disk-checks-3.1.1
- old
+ new
@@ -16,9 +16,23 @@
(`-m`). The default, `1.0`, will not adapt threshold percentages for volumes.
The `-l` option can be used in combination with the 'magic factor' to specify
the minimum size volume to adjust the thresholds for.
+By default all mounted filesystems are checked.
+
+The `-x` option can be used to exclude one or more filesystem types. e.g.
+
+ check-disk-usage.rb -x debugfs,tracefs
+
+The `-p` option can be used to exlucde specific mount points. e.g.
+
+ check-disk-usage.rb -p /run/lxcfs
+
+It's also possible to use regular expressions with the `-x` or `-p` option
+
+ check-disk-usage.rb -p '(\/var|\/run|\/sys|\/snap)'
+
Refer to [check_mk's](https://mathias-kettner.de/checkmk_filesystems.html)
documentation on adaptive thresholds.
You can also visualize the adjustment using
[WolframAlpha]([https://www.wolframalpha.com/input/) with the following: