In this article:

  1. Configure monitoring for Queues in ServiceBus360
  2. What are the different parameters you can use to monitor the Queue?
  3. In-depth view of Monitoring Dashboard

Azure Service Bus is a cloud-based messaging platform for connecting applications, services, and devices irrespective of their locations. Applications running on Azure, on-premise systems, or both, can communicate with each other, and numerous applications can be accessed with minimum response time. With ServiceBus360, monitoring Azure Service Bus becomes a lot easier. ServiceBus360 is a simple platform to manage your Azure Service Bus namespaces. It provides efficient operations capabilities on any service bus resource like Queues, Topics, Relays and Event Hubs. With ServiceBus360 it is easy to configure alarms for various metrics and get notified in case of violations and take necessary corrective actions. An enterprise messaging solution may contain multiple Service Bus resources being used. These resources from various categories can be grouped together to make more meaningful monitoring.

Configure monitoring for Queue in ServiceBus360

To configure monitoring, the user must create alarms and then associate Queues to the alarms.

Create an alarm:

  1. From the Home Dashboard, click Manage Namespace button of a namespace for which you want to create the alarm. The namespace should be of type ‘Messaging’.
  2. Click Alarms from the menu on the left
  3. Click the Add Alarm button to open the Add Alarm blade
  4. Enter Alarm Name
  5. Enter a summary for the alarm (This is optional)
  6. Click the Next button to navigate to the ‘Threshold Violations’ page
  7. Click ‘Alert on threshold violation’ to turn on the feature. You can configure alerts for threshold violations in this section.
  8. Click the Next button to navigate to the ‘Health Monitoring’ page
  9. Click ‘Enable Health Monitoring’ to turn on the feature. Enabling health monitoring allows users to get regular alerts on the status of the resource.
  10. Click Next to navigate to the ‘Notifications Channels’ page. By default, a notification email is sent from ServiceBus360 to the registered email ID (customizable) when the alarm is triggered due to a violation. You can also configure additional notification channels.
  11. Click the Save button to create the alarm

Associate the newly created alarm to a Queue

  1. Click Queues from the menu on the left menu
  2. Click the Monitoring icon on the right for the Queue you want to associate the alarm
  3. The Select Alarm dropdown on the top left lists all the configured alarms. Select the alarm you want to associate with this Queue from the dropdown
  4. By default, the parameters of the Queue are displayed. To monitor the status of the Queue, click the Enable Monitor switch for the property ‘Status’. Click the Edit button to change the other property/metrics in the Queue and set thresholds values
  5. Click Save when done
    Click the "Do not Monitor" button to remove the monitoring configurations for the entity from the particular alarm.

Back to top

What are the different parameters you can use to monitor the Queue?

ServiceBus360 offers two different kinds of monitoring, viz. state based and value based.

In state-based monitoring, if the state of the messaging entity does not match the expected state, then the alarm is triggered.

State of the Queues

Active: The status of the messaging entity is active

Disabled: The status of the messaging entity is disabled

SendDisabled: The sending status of the messaging entity is disabled

ReceiveDisabled: The receiving status of the messaging entity is disabled

Value based:

In value-based monitoring, the parameters can be set to trigger an alarm if the current value of the parameter does not match the desired condition. The following parameters are available for configuring.

Size in Bytes - Size of the Topic in bytes

Active Message Count - Number of active messages in the entity

Dead Letter Message Count - Number of dead-letter messages in the entity

Scheduled Message Count - Number of scheduled messages in the entity

Transfer Dead Letter Message Count - Number of messages dead-lettered

Transfer Message Count - Number of messages transferred to another entity

Back to top

In-depth view of Monitoring Dashboard

The Monitoring Dashboard shows a quick view of all the entities associated with an alarm. When all the parameters of the entity configured are in the desired state, then the status of the entity is Healthy and color-coded green. If even one of the parameters violates the defined threshold value or expected state, then the status of the entity is set to Warning or Error depending on the violation.

  1. Click Monitoring Dashboard from the left menu bar
  2. Click the Select Alarm drop-down box. All the alarms are listed down
  3. Select an alarm from the list. All the entities associated with the alarm are displayed
  4. If an entity is in Warning or Error state, click on the Issues icon in the extreme right of the table to view the errors in detail
  5. You can also Navigate to the Monitoring page of that entity by clicking on the entity name
  6. If an entity associated with an alarm has been deleted from the namespace, then the alarm is orphaned. To removed orphaned alarms, click the Remove Orphaned button on the top right.

Back to top