@@ -39,7 +39,7 @@ defmodule RabbitMQ.CLI.Diagnostics.Commands.CheckForQuorumQueuesWithoutAnElected
3939 % {
4040 "result" => "ok" ,
4141 "message" =>
42- "Node #{ node_name } reported all quorum queue leaders as healthy "
42+ "Node #{ node_name } reported all quorum queue as having responsive leader replicas "
4343 } }
4444 end
4545
@@ -48,15 +48,15 @@ defmodule RabbitMQ.CLI.Diagnostics.Commands.CheckForQuorumQueuesWithoutAnElected
4848 end
4949
5050 def output ( :ok , % { node: node_name } ) do
51- { :ok , "Node #{ node_name } reported all quorum queue leaders as healthy " }
51+ { :ok , "Node #{ node_name } reported all quorum queue as having responsive leader replicas " }
5252 end
5353
5454 def output ( { :error , unhealthy_queues } , % { node: node_name , formatter: "json" } ) when is_list ( unhealthy_queues ) do
5555 { :ok , :check_passed ,
5656 % {
5757 "result" => "error" ,
5858 "queues" => unhealthy_queues ,
59- "message" => "Node #{ node_name } reported unhealthy quorum queue leaders "
59+ "message" => "Node #{ node_name } reported quorum queues with a missing (not elected) or unresponsive leader replica "
6060 } }
6161 end
6262
@@ -70,23 +70,22 @@ defmodule RabbitMQ.CLI.Diagnostics.Commands.CheckForQuorumQueuesWithoutAnElected
7070 { :ok , :check_passed , Enum . join ( lines , line_separator ( ) ) }
7171 end
7272
73- def formatter ( ) , do: RabbitMQ.CLI.Formatters.PrettyTable
74-
7573 def usage ( ) do
7674 "check_for_quorum_queues_without_an_elected_leader [--vhost <vhost>] [--across-all-vhosts] <pattern>"
7775 end
7876
7977 def usage_additional do
8078 [
8179 [ "<pattern>" , "regular expression pattern used to match quorum queues" ] ,
82- [ "--across-all-vhosts" , "run leader health check for all queues in all virtual hosts on the node " ]
80+ [ "--across-all-vhosts" , "run this health check across all existing virtual hosts" ]
8381 ]
8482 end
8583
8684 def help_section ( ) , do: :observability_and_health_checks
8785
8886 def usage_doc_guides ( ) do
8987 [
88+ DocGuide . monitoring ( ) ,
9089 DocGuide . quorum_queues ( )
9190 ]
9291 end
0 commit comments