Watch4net APG 6: Setting up the mail server that APG will use
search cancel

Watch4net APG 6: Setting up the mail server that APG will use

book

Article ID: 304684

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:


Watch4net APG 6: Setting up the mail server that APG will use
How to set up the mail server for Watch4Net APG 6


Environment

VMware Smart Assurance - Watch4Net/M&R

Resolution

APG Mail Server configuration is necessary if you want to have the Scheduled Report tool sending reports by email.

SMTP Server
In APG 6.x the mail server is defined in the global APG properties file (apg.properties) located at:

Linux & Solaris: /opt/APG/bin/apg.properties

Windows: C:\Program Files\APG\bin\apg.properties

[...] #=================== # Common Properties #=================== [...] mail.host=localhost mail.smtp.user=<username> mail.smtp.password=<password> [...]

  • Line "mail.host" indicates the URL or IP address of SMTP server to be used.
  • Lines "mail.smtp.user" and "mail.smtp.password" are optional. Add them to this file if your SMTP server requires authentication.
  • Last, restart tomcat for these changes to be effective.

Scheduled Reports
The email address used to define the sender is set in the module.properties file:

Linux & Solaris: /opt/APG/Web-Servers/Tomcat/Default/conf/module.properties

Windows: C:\Program Files\APG\Web-Servers\Tomcat\Default\conf\module.properties

Add the following line to this file and set its value to something appropriate for your environment:

[email protected]

As of 6.1u4 and 6.2 the setting is mail.smtp.from

Alerts
The email address used to define the sender is set in the module.properties file:

Linux & Solaris: /opt/APG/Backends/Alerting-Backend/Default/conf/module.properties

Windows: C:\Program Files\APG\Backends\Alerting-Backend\Default\conf\module.properties

[...] [email protected] [...]

Change the above "alerting.mail.from" line in this file to something more appropriate for your environment.

Last Step
Restart Tomcat and Alerting-Backend to apply your changes in the active environment.


Additional Information

Changing [email protected] to a different address (6.3x and up)
  • Login to alerting-frontend page as admin
http://<Frontend IP or FQDN>:58080/alerting-frontend/
  •  Click Global Settings and change the field entries:
  • Save changes.