README.md
changeset 29 40bcd1565627
parent 26 54f2f57cc0b0
child 31 07e0ef36e5a3
--- a/README.md	Fri Jul 31 13:57:55 2020 -0700
+++ b/README.md	Sat Aug 01 14:17:45 2020 -0700
@@ -117,6 +117,9 @@
                  You can also set this to a Hash, keyed on mount name, if you want differing
                  warning values per mount point.  A mount point that is at 100% capacity will
                  be explicity set to `down`, as the resource it represents has been exhausted.
+  * **alert_readonly**: Set the now to an `error` state if mounts are readonly.
+                 This may be helpful in iscsi-root environments.  You can set this to a Hash,
+                 keyed on mount name, if you want differing behavior per mount point.
   * **include**: String or Array of Strings.  If present, only matching mount points are
                  considered while performing checks.  These are treated as regular expressions.
   * **exclude**: String or Array of Strings.  If present, matching mount point are removed
@@ -232,6 +235,7 @@
   * Only monitor specific disk partitions, warning at different capacities .
   * Ensure the 'important' processing is running with the '--production' flag.
   * Warns at 95% memory utilization OR 10% swap.
+  * Ensure '/' is not a mounted as a read-only filesystem.
 
 -
 
@@ -259,8 +263,11 @@
 				'^/var'
 			],
 			warn_at: {
-					'/tmp' => 50,
-					'/var' => 80
+				'/tmp' => 50,
+				'/var' => 80
+			},
+			alert_readonly: {
+				'/' => true
 			}
 	end