Firewall requirements for vRealize Operations Manager SMTP alerts
search cancel

Firewall requirements for vRealize Operations Manager SMTP alerts

book

Article ID: 344385

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • Unable to send emails from the vRealize Operations Manager (formerly known as VMware vCenter Operations Manager (vApp)) setup
  • In the /data/vcops/log/analytics.log file, you see entries similar to::

    2012-11-05 12:59:21,645 DEBUG [Thread-11] com.vmware.vcops.plugins.filter.EmailResender.run - Fetching email job from queue..
    2012-11-05 12:59:21,645 DEBUG [Thread-11] com.vmware.vcops.plugins.filter.EmailResender.run - Processing emailJob Email job for rule : 1 | created at = 1351828019215
    2012-11-05 12:59:42,844 WARN [Thread-11] com.vmware.vcops.plugins.filter.EmailResender.run - Resend failed for : Email job for rule : 1 | created at = 1351828019215
    javax.mail.MessagingException: Could not connect to SMTP host: SMTP Server, port: 25;

  • You have verified that the SMTP is properly configured in the Admin UI


Environment

VMware vCenter Operations Manager vCenter Operations Manager (Standalone) 5.x

Cause

This issue occurs if:

  • The firewall blocks the SMTP traffic coming from the Analytics VM.
  • The SMTP server connection had timed out while attempting to connect.
In vRealize Operations Manager (formerly known as VMware vCenter Operations Manager (vApp)), the emails are sent for Alerts and Scheduled Reports.

By design:
  • Alert emails are sent from the Analytics VM
  • Scheduled Reports emails are sent from the UI VM

Resolution

To resolve this issue, ensure that the firewall allows SMTP traffic for both Analytics and UI VMs for successful retrieval of emails for Alerts and Scheduled Reports.

To retrieve the SMTP settings:

  1. Log in to the UI virtual machine as an admin user.
  2. To get the SMTP server details, run this command:

    vcops-admin smtp info

  3. Telnet to the SMTP server from Analytics VM on Port 25 to verify the connectivity.

    Note: SMTP is usually configured on port 25, but this may vary in some environments.