Environment Watch alert notifications are not being sent
Description
This alert is triggered when Environment Watch fails to send one or more alert notification emails within a 5-minute window. While this alert is active, the configured recipients may not be notified when other alerts fire.
Resolution Guidance
Impact When Active
- Definite impact: Environment Watch alert notification emails are not being delivered. Other alerts still fire and are visible in Kibana and Relativity, but the configured recipients are not notified by email.
- Possible/likely impact: Issues may go unnoticed until someone checks the Environment Watch dashboards, which increases the time to detect and resolve them.
How To Resolve
The most common cause is SMTP credentials that were changed without updating the kCura.Notification instance settings in Relativity.
- Log into Kibana using valid credentials. If access is unavailable, contact a Relativity administrator within your organization.
- Navigate to Stack Management > Rules, open the Environment Watch alert notifications are not being sent rule, and click View in Discover.
- Open one of the listed documents and review the
labels.relsvr_notification_error_messagefield:- If the server could not be reached, the message is
Failure sending mail. - If the login failed, the message usually includes the response from the SMTP server.
- If the server could not be reached, the message is
- For more detail, check the Environment Watch agent log:
- Log into the server where the Environment Watch agent is installed and open
C:\ProgramData\Relativity\EnvironmentWatch\Services\InfraWatchAgent\Logs\rel-infrawatch-agent.log. - Search for
Failed to send email notification. The entry lists the alerts that were not sent and the error returned by the SMTP server.
- Log into the server where the Environment Watch agent is installed and open
- Resolve the issue based on the error:
Login or SSL/TLS errors: Log into Relativity, go to the Instance Settings tab and filter on the Section
kCura.Notification. Verify the following instance settings:Section Name What to check kCura.Notification SMTPServer Host name of the SMTP server kCura.Notification SMTPPort Port of the SMTP server kCura.Notification SMTPUserName User name for the SMTP server kCura.Notification SMTPPassword Password for the SMTP server; update it if the SMTP credentials were recently changed kCura.Notification SMTPSSLisRequired TrueorFalse, matching the SMTP server configurationFor a description of these settings, refer to the help page at https://help.relativity.com/Server2026/Content/System_Guides/Instance_Setting_Guide/Instance_setting_descriptions.htm
Connection errors: Log into the server where the Environment Watch agent is installed and test the connection to the SMTP server with PowerShell, for example
Test-NetConnection <SMTPServer> -Port <SMTPPort>. IfTcpTestSucceededisFalse, ensure the SMTP server is running and the SMTP port is open on the firewall.Recipient or sender errors: Verify the email recipients and the sender address (
fromAddress) in thealertNotificationHandlerssection of the Environment Watch JSON configuration.
- After the issue is resolved, alerts that could not be sent are delivered in the next notification email. Alerts for a recipient that the SMTP server rejected are not sent again.
- The alert clears automatically when no new send failures are recorded for 5 minutes.
- If the issue persists, contact Relativity Support.
This alert is triggered only when sending an email fails. It is not triggered when email notifications are not configured correctly (no
SMTPServer, no sender address, no enabled recipients, or an email address in an invalid format). In these cases, check the Environment Watch agent log.
Alert Details
Alert Condition Details
| Name | Value |
|---|---|
| Rule Type | Elasticsearch Query |
| Data View | metrics-* |
| Filter Query | relsvr.notification.send_failure : * |
| Group | Sum of relsvr.notification.send_failure |
| Threshold | > 0 |
| Time Window | 5 min |
| Frequency | 1 min |
Alert Metric Details
Metric Name: relsvr.notification.send_failure
Metric Description: Alert will be true when one or more Environment Watch alert notification emails fail to send within 5 minutes. The metric counts the failed send attempts.
Metric Attributes:
| Attribute Name | Description |
|---|---|
| labels.relsvr_notification_provider_type | Notification provider that failed (EmailAlertNotificationProvider) |
| labels.relsvr_notification_error_message | Error message returned when the send failed |
| labels.relsvr_notification_status | Send status (failed) |