cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
859
Views
0
Helpful
4
Replies

Vmanage alert - email notification failing- "Could not convert socket"

devopsseek
Level 1
Level 1

Hi beautiful community. 

I am trying to implement alerting using email alerting from our vmanage and unable to send email notification.

Has anyone successfully implemented this in their vmanage? 

The logs show triggers for email alerting (which fails with error) but we do not see any logs for initiating a web hook request.

We are running version 20.3.5 on Vmanage.

Following is the log

03-Jul-2023 02:48:29,949 UTC INFO  [] [NotificationsConsumer] (messaging-client-scheduler-LOW-16) || Sending email, isWarning false, ruleName Site-Down-Test-Alarm .......

03-Jul-2023 02:48:29,949 UTC INFO  [] [NotificationsConsumer] (messaging-client-scheduler-LOW-16) || forMimeContent:{devices=[{system-ip="10.254.5.145"}], eventname="system-reboot-issued", type="system-reboot-issued", rulename="system-reboot-issued", component="System", entry_time=1688352509944, statcycletime=1688353557000, message="The device rebooted", severity="Critical", severity_number=1, uuid="990cf7f5-dcdb-4e66-95db-0e85552ef445", values=[{host-name=“test-r01", system-ip="10.254.5.145", reboot-reason="Reload Command"}], rule_name_display="System_Reboot_Issued", receive_time=1688352509938, values_short_display=[{host-name="bne-r01", system-ip="10.254.5.145"}], acknowledged=false, active=true}

03-Jul-2023 02:48:29,949 UTC INFO  [] [NotificationsConsumer] (messaging-client-scheduler-LOW-16) || devices for email content:[{system-ip="10.254.5.145"}]

03-Jul-2023 02:48:29,958 UTC INFO  [] [NotificationsConsumer] (messaging-client-scheduler-LOW-16) || Recipient to fhxyz@xyz.com.au, from notification@xyz.xyz to no-reply@xyz.xyz

03-Jul-2023 02:48:30,679 UTC ERROR [] [NotificationsConsumer] (messaging-client-scheduler-LOW-16) || Sending email notification failed

javax.mail.MessagingException: Could not convert socket to TLS

 

4 Replies 4

Hi,

check whether you can reach email server via VPN0. Did you configure DNS in VPN0 for name resolution?

Meanwhile, share "show run vpn 0" output and email notification settings (Screen) from vManage.

 

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

Hi Karan, 

yes. VPN0 can reach email server (which is AWS SES) and we have engaged AWS engineers to test it via command line from Vmanage. And we could send emails with both port 465 and 587. The issue was isolated to Vmanage. 

https://docs.aws.amazon.com/ses/latest/dg/send-email-smtp-client-command-line.html


 

Untitled.jpg

 

What certificate is used for TLS? Is it signed by well-known CA or it is self-signed? It can be certificate issue.

And Confirm if the server supports STARTTLS. If possible, do packet capture as in shared doc.

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

svemulap@cisco.com
Cisco Employee
Cisco Employee
Yes. It has been implemented successfully by several customers.
Take a look at CCO document which covers some troubleshooting tips.
https://www.cisco.com/c/en/us/support/docs/routers/sd-wan/214615-vmanage-configure-alarm-email-notificat.html?dtid=osscdc000283

If you still continuing to have issues, open a TAC case w/ Cisco.

HTH.

Review Cisco Networking for a $25 gift card