README.md
changeset 15 d4776d62b193
parent 14 d5cb8bd33170
child 17 e4f0fd44734d
equal deleted inserted replaced
14:d5cb8bd33170 15:d4776d62b193
   112   * **include**: String or Array of Strings.  If present, only matching mount points are
   112   * **include**: String or Array of Strings.  If present, only matching mount points are
   113                  considered while performing checks.  These are treated as regular expressions.
   113                  considered while performing checks.  These are treated as regular expressions.
   114   * **exclude**: String or Array of Strings.  If present, matching mount point are removed
   114   * **exclude**: String or Array of Strings.  If present, matching mount point are removed
   115                  from evaluation.  These are treated as regular expressions.
   115                  from evaluation.  These are treated as regular expressions.
   116 
   116 
       
   117 A single property "mounts" is set on the node, which is a hash keyed by
       
   118 mountpoint, with current capacity values.
       
   119 
   117 
   120 
   118 #### Memory
   121 #### Memory
   119 
   122 
   120   * **physical_warn_at**: Set the node to a `warning` state when RAM utilization is at or over this percentage.
   123   * **physical_warn_at**: Set the node to a `warning` state when RAM utilization is at or over this percentage.
   121   * **swap_warn_at**: Set the node to a `warning` state when swap utilization is at or over this percentage.
   124   * **swap_warn_at**: Set the node to a `warning` state when swap utilization is at or over this percentage.
   122 
   125 
   123 Warnings are only set for swap by default, since that is usually a
   126 Warnings are only set for swap by default, since that is usually a
   124 better indication of an impending problem.
   127 better indication of an impending problem.
   125 
   128 
       
   129 2 properties are set on the node, "memory" and "swap".  Each is a Hash
       
   130 that contains current usage and remaining available.
       
   131 
   126 
   132 
   127 #### Processes
   133 #### Processes
   128 
   134 
   129   * **check**: String or Array of Strings.  A list of processes to check if running.  These are
   135   * **check**: String or Array of Strings.  A list of processes to check if running.  These are
   130                treated as regular expressions, and include process arguments.
   136                treated as regular expressions, and include process arguments.
   131 
   137 
   132 If any process in the list is not found in the process table, the
   138 If any process in the list is not found in the process table, the
   133 resource is set to a `down` state.
   139 resource is set to a `down` state.
       
   140 
       
   141 A single property is set on the node, a "counts" key that contains the
       
   142 current number of running processes.
   134 
   143 
   135 
   144 
   136 Examples
   145 Examples
   137 --------
   146 --------
   138 
   147