You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running sensu-server 1.0.2, sensu-plugins-sensu 2.2.0, sensu-plugin (2.3.0, 1.4.5), when using the "honor_stash" switch, I receive the following error. I've tried this on a fresh install and fresh plugin install.
/opt/sensu/embedded/bin/ruby /opt/sensu/embedded/bin/check-aggregate.rb -a http://localhost:4567 -c agg-check-feeds -i --critical_count 1 -A 600
Check failed to run: undefined method 'delete_if' for nil:NilClass, ["/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugins-sensu-2.2.0/bin/check-aggregate.rb:164:in 'honor_stash'", "/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugins-sensu-2.2.0/bin/check-aggregate.rb:317:in 'run'", "/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugin-1.4.5/lib/sensu-plugin/cli.rb:58:in 'block in <class:CLI>'"]
The text was updated successfully, but these errors were encountered:
makayez
changed the title
Error
Error when using Aggregate Check with "honor_stash"
Sep 25, 2017
Running sensu-server 1.0.2, sensu-plugins-sensu 2.2.0, sensu-plugin (2.3.0, 1.4.5), when using the "honor_stash" switch, I receive the following error. I've tried this on a fresh install and fresh plugin install.
/opt/sensu/embedded/bin/ruby /opt/sensu/embedded/bin/check-aggregate.rb -a http://localhost:4567 -c agg-check-feeds -i --critical_count 1 -A 600
Check failed to run: undefined method 'delete_if' for nil:NilClass, ["/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugins-sensu-2.2.0/bin/check-aggregate.rb:164:in 'honor_stash'", "/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugins-sensu-2.2.0/bin/check-aggregate.rb:317:in 'run'", "/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugin-1.4.5/lib/sensu-plugin/cli.rb:58:in 'block in <class:CLI>'"]
The text was updated successfully, but these errors were encountered: