События мониторинга#

Мониторинг производится самостоятельно через преднастроенный JMX-порт.

Мониторинг может производиться с помощью произвольной системы мониторинга. В качестве системы мониторинга может быть использован компонент EDMN продукта Platform V Synapse Event-domain management (EDM) или любая другая система мониторинга.

Настройки JMX-порта задаются перед установкой в конфигурационном файле vars.yml, подробнее описано в документе Руководство по установке, раздел Установка.

Отслеживаются следующие метрики:

Область действия метрики

Метрика

Описание

Триггер

MBEAN Name

Ядро

org.apache.activemq.artemis.[broker].AddressMemoryUsagePercentage

процент использования памяти брокером относительно global-max-size

0.7

org.apache.activemq.artemis:broker="<broker>"/AddressMemoryUsagePercentage

Ядро

org.apache.activemq.artemis.[broker].DiskStoreUsage

процент использования дискового пространства

0.7

org.apache.activemq.artemis:broker="<broker>"/DiskStoreUsage

Ядро

org.apache.activemq.artemis.[broker].Uptime

время жизни брокера

-

org.apache.activemq.artemis:broker="<broker>"/Uptime

Ядро

org.apache.activemq.artemis.[broker].TotalMessagesAdded

получено сообщений с момента запуска брокера

-

org.apache.activemq.artemis:broker="<broker>"/TotalMessagesAdded

Ядро

org.apache.activemq.artemis.[broker].TotalMessagesAcknowledged

забрано сообщений с момента запуска брокера

-

org.apache.activemq.artemis:broker="<broker>"/TotalMessagesAcknowledged

Ядро

org.apache.activemq.artemis.[broker].addresses.DLQ.MessageCount

количество недоставленных сообщений в очередях адреса

растет

org.apache.activemq.artemis:broker="<broker>",component=addresses,address="DLQ"/MessageCount

Ядро

org.apache.activemq.artemis.[broker].addresses.ExpiryQueue.MessageCount

количество просроченных сообщений в очередях адреса

растет

org.apache.activemq.artemis:broker="<broker>",component=addresses,address="ExpiryQueue"/MessageCount

Ядро

org.apache.activemq.artemis.[broker].addresses.[queues].anycast.[queueName].MessageCount

количество сообщений в очереди

-

org.apache.activemq.artemis:broker="<broker>",component=addresses,address="<queue>",subcomponent=queues,routing-type="anycast",queue="<queue>"/MessageCount

Ядро

org.apache.activemq.artemis.[broker].addresses.[queues].anycast.[queueName].MessagesAdded

количество сообщений отправленных в очередь с момента ее создания

-

org.apache.activemq.artemis:broker="<broker>",component=addresses,address="<queue>",subcomponent=queues,routing-type="anycast",queue="<queue>"/MessagesAdded

Ядро

org.apache.activemq.artemis.[broker].addresses.[queues].anycast.[queueName].MessagesAcknowledged

количество сообщений забранных из очереди с момента ее создания

-

org.apache.activemq.artemis:broker="<broker>",component=addresses,address="<queue>",subcomponent=queues,routing-type="anycast",queue="<queue>"/MessagesAcknowledged

Ядро

org.apache.activemq.artemis.[broker].addresses.[queues].anycast.[queueName].ConsumerCount

количество подключенных потребителей

-

org.apache.activemq.artemis:broker="<broker>",component=addresses,address="<queue>",subcomponent=queues,routing-type="anycast",queue="<queue>"/ConsumerCount

Модуль аутентификации/авторизации

org.apache.activemq.artemis.[broker].sessionCounters.[user].sessionCounter

количество сессий пользователя

-

org.apache.activemq.artemis:broker="<broker>",component=sessionCounters,user="<user>",name="sessionCounter"

Модуль аутентификации/авторизации

org.apache.activemq.artemis.[broker].connectionCounters.[user].connectionCounter

количество соединений пользователя

-

org.apache.activemq.artemis:broker="<broker>",component=connectionCounters,user="<user>",name="connectionCounter"

Остальные компоненты SMBX не порождают метрик мониторинга.