Open M-srivatsa opened 6 years ago
For posterity.
The check use the 4-letter word "mntr".
Maybe this word is not whitelisted in zookeeper conf...
$ echo mntr | nc 127.0.0.1 2181
mntr is not executed because it is not in the whitelist.
You have to add it in the zookeeper conf file :
$ sudo grep 4lw.commands.whitelist /etc/kafka/zookeeper.properties
4lw.commands.whitelist=srvr, stat, ruok, conf, isro
Check failed to run: undefined method
split' for nil:NilClass, ["/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-zookeeper-1.5.0/bin/check-zookeeper-reqs.rb:74:inblock in run'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-zookeeper-1.5.0/bin/check-zookeeper-reqs.rb:65:in
open'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-zookeeper-1.5.0/bin/check-zookeeper-reqs.rb:65:inrun'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.4.2/lib/sensu-plugin/cli.rb:58:in
block in '"]`