Agents Administration - Tests
 

Default Parameters for RabMQQueSumTest

This test auto-discovers the queues on a target node. For each queue, the test then reports the status of the queue, the total number of messages in the queue, and the type of messages - eg., unacknowledged, published, confirmed - in each queue, so administrators can precisely pinpoint queues that are growing in length at an alarming rate, know what type of messages are in such queue, and accordingly decide on how to control the growth in queue length. Additionally, the test reports on the memory usage of each queue, so you can easily assess the impact of queue length on memory. Moreover, the test also reports the rate at which the different types of messages in a queue are delivered to consumers, so that any bottleneck in delivery can be proactively detected and promptly fixed.

This page depicts the default parameters that need to be configured for the RabMQQueSumTest test.

  • The TEST PERIOD list box helps the user to decide how often this test needs to be executed.

  • The eG agent connects to the Management Interface of the rabbitmq-management plugin of the target node, and runs HTTP-based API commands on the node using the plugin to pull metrics of interest. To connect to the plugin and run the API commands, the eG agent requires the privileges of a user on the cluster who has been assigned the ‘monitoring’ tag. If such a user pre-exists, then configure this test with the USERNAME and PASSWORD of that user. On the other hand, if no such user exists, then you will have to create a user for this purpose using the Management Interface. The steps for this have been detailed in Monitoring RabbitMQ Cluster document. In this case, make sure you configure this test with the USERNAME and PASSWORD of the new user. Finally, confirm the password by retyping it in the CONFIRM PASSWORD text box.

  • By default, the SSL flag is set to No, as the target node is not SSL-enabled by default. If the node is SSL-enabled, then set this flag to Yes.

  • By default, the NUM DD MESSAGES parameter is set to 10. This means that, by default, the detailed diagnosis of this test will report the details of the top-10 queues in terms of the number of messages in each queue. To view the details of more queues as part of detailed metrics, you will have to increase the value of this parameter. Likewise, to view the details of less than 10 queues, reduce the value of this parameter.

  • If you want the test to report metrics for every queue, then set the INDIVIDUAL QUEUES flag to Yes. In this case, each queue process will be a descriptor of this test. On the other hand, if you want to receive an overview of the queue load on the cluster, you can set this flag to No. In this case, the test will report metrics for a Summary descriptor alone.

  • Provide a comma-separated list of queue groups you want monitored in the QUEUE GROUP text box.

  • Once the above values are provided, click on the UPDATE button to register the changes made.

When changing default configurations of tests, the values with “$” indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to “xyz*” and $port will be changed to “80” when configuring a test.