--- a/README.md Thu Jun 02 11:50:54 2016 -0700
+++ b/README.md Mon Sep 05 20:58:54 2016 -0700
@@ -39,14 +39,15 @@
Arborist::Host( 'example' ) do
description "Example host"
address '10.6.0.169'
- resource 'load', description: 'machine load'
+ resource 'load', description: 'machine load' do
+ config load_error_at: 5
+ end
end
From a monitor file, require this library, and create an snmp instance.
You can reuse a single instance, or create individual ones per monitor.
-
require 'arborist/monitor/snmp'
Arborist::Monitor '5 minute load average check' do
@@ -59,7 +60,9 @@
exec( snmp )
end
-Please see the rdoc for all the mode types and error_at options.
+Please see the rdoc for all the mode types and error_at options. Per
+node "config" vars override global defaults when instantiating the
+monitor.
## License