High Quality JMS Messaging.

Introduction

The Monitor Swiftlet provides 3 different monitors that can be configured to send an eMail to a configured eMail address when a configured threshold is reached ("critical") and if the value goes below the threshold ("back to normal"). The eMail contains a status of the current router memory consumption, the current number of messages in the queues and the current number of connections.

The monitors are:

The Monitor Swiftlet of SwiftMQ HA Router contains an additional monitor to inform about state transition to HA state ACTIVE and HA state STANDALONE and alerts about a failover.

Mail Configuration

Before enabling a monitor, the mail configuration must be done. It consists of mail host/port, from/to and optionally a CC address.

To test the configuration or to get the current router status, click on "Mail Settings", rigt click, "Send a Testmail":

Connection Monitor

The Connection Monitor monitors the number of network connections. A threshold can be defined via attribute "Connection Threshold". Attribute "Connection Monitor Interval" contains the interval in milliseconds in which the monitor checks the number of network connections. A value of -1 disables the monitor.

Queue Monitor

The Queue Monitor monitors the number of messages in all queues. A threshold can be defined via attribute "Queue Max Message Threshold". Attribute "Queue Monitor Interval" contains the interval in milliseconds in which the monitor checks the number of messages. A value of -1 disables the monitor.

Memory Monitor

The Memory Monitor monitors the memory usage of the router. A threshold can be defined via attribute "Memory Threshold (MB)". Attribute "Memory Monitor Interval" contains the interval in milliseconds in which the monitor checks the memory usage. A value of -1 disables the monitor.

Attribute "GC Interval" contains the interval in milliseconds in which the monitor performs a "System.gc()" after the "Memory Threshold" has been reached. A value of -1 disables this GC timer. The GC timer is stopped when the memory goes below the threshold.

HA Monitor

The HA Monitor sends an alert if the HA instance goes to HA state ACTIVE and/or STANDALONE. Both monitors can be enabled separately. State ACTIVE occurs when the STANDBY connects. State STANDALONE is when the STANDBY disconnects or a failover occurs.