07-11-2023 09:10 PM
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
07-12-2023 02:49 AM
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.
07-13-2023 10:28 PM
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
07-14-2023 01:26 AM
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.
07-12-2023 12:37 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide