Open Negashev opened 8 years ago
service['containers'] can be empty
Hi,
so, you have a service set up with no instances?
M
it's really strange, but I've used from the catalog kibana4
it could be that it fails over another service. Do you have any services (in any stack) that has no instances set up?
I run in rancher, container with
https://github.com/sstarcher/docker-sensu
and install m4ce/rancher-service
afte run get error with
block in <class:CLI>
in sensuroot@9e9aea7e41d2:/# check-rancher-service.rb
Check failed to run: undefined method
each' for nil:NilClass, ["/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-rancher-service-0.0.20/bin/check-rancher-service.rb:106:in
block in run'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-rancher-service-0.0.20/bin/check-rancher-service.rb:96:ineach'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-rancher-service-0.0.20/bin/check-rancher-service.rb:96:in
run'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.2.0/lib/sensu-plugin/cli.rb:56:in `block in class:CLI'"]