The configuration of the Monitor Swiftlet is defined within the element
<swiftlet name="sys$monitor" .../>
of the router's configuration file. One can use the SwiftMQ Exlorer or CLI for configuration as well. They both save into that file.
Element "memory", Parent Element: "swiftlet"
Memory Monitor Settings.
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| memory-monitor-interval | java.lang.Long | No | Interval to monitor Memory Usage |
| memory-threshold | java.lang.Integer | No | An eMail will be sent if the memory usage reaches this size |
| gc-interval | java.lang.Long | No | Interval in which GC is performed after reaching Memory Threshold |
Values
| Attribute | Values |
|---|---|
| memory-monitor-interval | Default: -1 |
| memory-threshold | Default: 300 |
| gc-interval | Default: -1 |
Element "queue", Parent Element: "swiftlet"
Queue Monitor Settings.
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| queue-monitor-interval | java.lang.Long | No | Interval to monitor Queue Usage |
| queue-max-message-threshold | java.lang.Integer | No | An eMail will be sent if any queue reaches this size |
Values
| Attribute | Values |
|---|---|
| queue-monitor-interval | Default: -1 |
| queue-max-message-threshold | Default: -1 |
Element "connection", Parent Element: "swiftlet"
Connection Monitor Settings.
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| connection-monitor-interval | java.lang.Long | No | Interval to monitor Connection Usage |
| connection-threshold | java.lang.Integer | No | An eMail will be sent if the number of connections reaches this limit |
Values
| Attribute | Values |
|---|---|
| connection-monitor-interval | Default: -1 |
| connection-threshold | Default: -1 |
Element "settingsmail", Parent Element: "swiftlet"
Mail Settings.
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| mailserver-host | java.lang.String | Yes | SMTP Mail Server Host |
| mailserver-port | java.lang.Integer | Yes | SMTP Mail Server Port |
| from | java.lang.String | Yes | From Address |
| to | java.lang.String | Yes | To Address |
| cc | java.lang.String | No | CC Address |
Values
| Attribute | Values |
|---|---|
| mailserver-host | Default: please.change.me |
| mailserver-port | Default: 25 |
| from | Default: monitor@swiftmq.com |
| to | Default: please.change.me |
| cc |