diff --git a/VERSION b/VERSION index 9e5bb77a..d8b69897 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.11.2 +2.12.0 diff --git a/resources/check/check_functions.rb b/resources/check/check_functions.rb index 4eebd8a5..3c83f0c7 100644 --- a/resources/check/check_functions.rb +++ b/resources/check/check_functions.rb @@ -93,7 +93,7 @@ def get_nodes_with_service(service=nil) else members.each do |node| node_info = get_node(node) - node_services = node_info.attributes.redborder.services + node_services = node_info.attributes.['redborder']['services'] nodes.push(node) if node_services.include? service end end diff --git a/resources/check/kafka/rb_check_kafka.rb b/resources/check/kafka/rb_check_kafka.rb index fe89d3b8..63a405d7 100644 --- a/resources/check/kafka/rb_check_kafka.rb +++ b/resources/check/kafka/rb_check_kafka.rb @@ -57,14 +57,14 @@ print_command_output(output, return_value, colorless, quiet) end - subtitle("Kafka messages", colorless, quiet) - %w[rb_monitor rb_flow rb_event rb_loc].each do | topic | - output = execute_command_on_node(node,"/usr/lib/redborder/scripts/rb_check_topic.rb -t #{topic}") - return_value = $?.exitstatus - output = output.gsub("\n","") - has_errors = true if return_value != 0 - print_command_output(output, return_value, colorless, quiet) - end + # subtitle("Kafka messages", colorless, quiet) + # %w[rb_monitor rb_flow rb_event rb_loc].each do | topic | + # output = execute_command_on_node(node,"/usr/lib/redborder/scripts/rb_check_topic.rb -t #{topic}") + # return_value = $?.exitstatus + # output = output.gsub("\n","") + # has_errors = true if return_value != 0 + # print_command_output(output, return_value, colorless, quiet) + # end else has_errors = true end