Network Management
Alert emails do not trigger due to log file errors
This article describes an issue where alert email actions are not received. And you see "System.Runtime.InteropServices.COMException" in the ActionExecutionAlert.log
First published date
Last published date
Overview
Email alerts not going out and when you do SMTP test you may see the following errors in the log file ActionExecution.log
2097-02-15 16:03:04,915 [102] ERROR AlertingLogger - (null) Sending the email from solarwinds@solarwinds.com to solarwinds@solarwinds.com with subject ALERT: Resolved : Managed Node MyNode IP 10.1.1.1 has started polling using SMTP Server 192.168.1.1 failed. The message could not be sent to the SMTP server. The transport error code was 0x800ccc67. The server response was 421 4.3.2 Service not available System.Runtime.InteropServices.COMException (0x80040211): The message could not be sent to the SMTP server. The transport error code was 0x800ccc67. The server response was 421 4.3.2 Service not available at Interop.cdosys.MessageClass.Send() at SolarWinds.Orion.Core.Actions.Utility.Smtp.Clients.CdoSmtpClient.Send()
And you also see a different error like below if using SMTPS
2019-04-24 14:09:39,912 [70] ERROR SolarWinds.Orion.Core.Actions.Impl.Email.EmailMethodInvoker - (null) Test for SMTP server (smtp-lan:465, SSL enabled, Authentication enabled) failed System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server. at Interop.cdosys.MessageClass.Send() at SolarWinds.Orion.Core.Actions.Utility.Smtp.Clients.CdoSmtpClient.Send() at SolarWinds.Orion.Core.Actions.Impl.Email.EmailMethodInvoker.SendTestEmail(String args)
Product section
Cause
- The SMTP server does not accept the SMTP traffic from the Orion server.
- The alias mail server host name used to reach the mail server wasn't defined as alternative SAN in the server TLS certificate resulting in TLS hand shake failure from Orion server.
Resolution
- Make sure that the correct SMTP host is configured in alerts. This can be configured by bulk in the Web Console (Settings > All Settings > Manage SMTP Servers).
- Verify that the SMTP server is correctly configured to accept SMTP traffic from the Orion server.
- If using SMTPS, use the actual hostname of the mail server instead of Alias OR get the Alias hostname added to the SAN cert of mail server.