Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.12.0 #174

Merged
merged 3 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.11.2
2.12.0
2 changes: 1 addition & 1 deletion resources/check/check_functions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions resources/check/kafka/rb_check_kafka.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down