bin/check-chef-nodes.rb in sensu-plugins-chef-3.0.0 vs bin/check-chef-nodes.rb in sensu-plugins-chef-3.0.1
- old
+ new
@@ -32,9 +32,14 @@
#
require 'sensu-plugin/check/cli'
require 'ridley'
+# supress the THOUSANDS of useless warnings
+require 'hashie'
+require 'hashie/logger'
+Hashie.logger = Logger.new(nil)
+
#
# Chef Nodes Status Checker
#
class ChefNodesStatusChecker < Sensu::Plugin::Check::CLI
option :critical_timespan,