paint-brush
Three WombatOAM Agents and a RabbitMQby@ErlangSolutions

Three WombatOAM Agents and a RabbitMQ

by Erlang SolutionsNovember 14th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

by <a href="http://www.twitter.com/dube_aya" target="_blank">Ayanda Dube</a>
featured image - Three WombatOAM Agents and a RabbitMQ
Erlang Solutions HackerNoon profile picture

by Ayanda Dube

Before you go any further, you should know that you can test WombatOAM out today with a 45 day free trial for WombatOAM 3.0.0beta.

As of version 2.7.0, WombatOAM has three additional RabbitMQ agents that are shipped as part of the main RabbitMQ plugin. These three agents are more specific to the internal elements of RabbitMQ, namely Queues, Channels, and Connections, with each providing finer and more detailed metrics per individually configured and selected metric attribute.

Whereas before, where WombatOAM’s single RabbitMQ plugin would provide an overview of the aggregate metrics, these three additional agents now provide the much desired lower level metric information of the RabbitMQ node being managed. These are illustrated below.

RabbitMQ Queues Agent

The RabbitMQ Queues agent provides the capabilities of monitoring queues on an individual basis, with the following attributes being configurable, for each queue.

  • messages
  • messages_ready
  • messages_unacknowledged
  • messages_ready_ram
  • messages_unacknowledged_ram
  • messages_ram
  • messages_persistent
  • message_bytes
  • message_bytes_ready
  • message_bytes_unacknowledged
  • message_bytes_ram
  • message_bytes_persistent
  • disk_reads
  • disk_writes
  • consumers
  • memory

By default, the RabbitMQ Queues agent is configured to monitor the total number of messages for each queue existing on the node being monitored. More details on how to configure this agent may be found in the WombatOAM documentation. The following image illustrates this agent in use:

RabbitMQ Queues Plugin message metric illustration

RabbitMQ Channels Agent

The RabbitMQ Channels agent provides the capabilities of monitoring channels on an individual basis, with the following attributes being configurable, for each captured (alive) channel.

  • number
  • reductions
  • consumer_count
  • messages_unacknowledged
  • messages_unconfirmed
  • messages_uncommitted
  • acks_uncommitted
  • prefetch_count
  • global_prefetch_count

The following image illustrates this agent in use, with the consumer_count attribute configured for monitoring, for all channels:

RabbitMQ Channels Plugin message metric illustration

RabbitMQ Connections Agent

The RabbitMQ Connections agent provides the capabilities of monitoring connections on an individual basis, with the following attributes being configurable, for each captured (alive) connection.

  • frame_max
  • channel_max
  • recv_oct
  • recv_cnt
  • send_oct
  • send_cnt
  • send_pend
  • channels

The following image illustrates this agent in use, with the channels attribute configured for monitoring, for all connections:

RabbitMQ Connections Plugin message metric illustration

This blog post is an excerpt from RabbitMQ Operations & Maintenance using WombatOAM by Ayanda Dube. Download the full guide here.

Originally published at www.erlang-solutions.com.