Notification Processor
Configuration reference for the service that routes notifications to recipients.
Notification Processor#
Introduction#
A notification processor is a module designed to manage, process, and route notifications to the appropriate recipients based on predefined settings. The notification processor ensures that important information is delivered to users promptly and efficiently, enhancing the user experience and ensuring timely communication.
Notifications can be in various forms, such as email alerts, SMS messages, or even in-app messages.
Consul keys#
The Notification Processor module utilizes a set of consul keys designed to facilitate its configuration and operation. These keys are essential for the module to function correctly and efficiently.
The consul keys are as follows:
service/rabbitmq/hostname
service/rabbitmq/port
service/rabbitmq/username
service/rabbitmq/password
service/rabbitmq/sslenable
service/rabbitmq/sslprotocol
service/rabbitmq/forensicmessagesqueue
service/rabbitmq/a1eventsqueue
service/perconadb/idleconnections
service/perconadb/maxpoolsize
service/perconadb/connectiontimeout
service/perconadb/idleconnectiontimeout
service/perconadb/maxlifetime
service/perconadb/tls1.2/jdbcparams
service/perconadb/ip
service/perconadb/port
service/perconadb/username
service/perconadb/password_ui
service/redis/nodes
service/redis/sslenabled
service/notificationprocessor/health/metrics/updateinterval/milliseconds
service/notificationprocessor/management/endpoints/web/exposure/include
service/notificationprocessor/management/endpoints/jmx/exposure/include
service/notificationprocessor/management/endpoints/health/enabled
service/notificationprocessor/jmx/enabled
service/notificationprocessor/audit/loglevel
service/notificationprocessor/loglevel
service/notificationprocessor/rootloglevel
service/notificationprocessor/corelogs/maxfilesize
service/notificationprocessor/corelogs/totalsizecap
service/notificationprocessor/corelogs/maxhistory
service/notificationprocessor/logs/maxfilesize
service/notificationprocessor/logs/totalsizecap
service/notificationprocessor/logs/maxhistory
service/notificationprocessor/auditlogs/maxfilesize
service/notificationprocessor/auditlogs/totalsizecap
service/notificationprocessor/auditlogs/maxhistory
service/notificationprocessor/signal/ delay/minutes
If you change the log level through these Consul keys, restart the module. To change the log level without a restart, see Change a Service's Log Level at Runtime.
Health Metrics#
The health metrics of the Notification Processor are critical indicators used to monitor and ensure the optimal performance and reliability of the system.
| Metric | Description |
|---|---|
| rmqReadData | This is the number of incoming messages from the queue corresponding to 'service/rabbitmq/forensicmessagesqueue' consul key. The initial value is 0. |
| rmqWriteData | This is the number of outgoing messages to the queue corresponding to 'service/rabbitmq/a1eventsqueue' consul key. The initial value is 0. |
| readQueueName | Initial value is raw-forensic-messages. |
| writeQueueName | Initial value is a1-event-messages. |
| snapshots | This metric stores the number of incoming or outgoing messages to or from the queues corresponding to following consul keys.service/rabbitmq/forensicmessagesqueueservice/rabbitmq/a1eventsqueueIt also stores the Redis keys that are not found in Redis cluster. Initial value for this metric is {}. Value of this metric resets periodically as per the value of 'service/notificationprocessor/health/metrics/updateinterval/milliseconds' consul key. |
You can view the KPIs of HEAL modules such as the Notification Processor in Control Center, and set thresholds for them at service level and instance level. See Set KPI thresholds for a service.