Configuring e-mail settings to receive alerts

Review the e-mail settings on the server target computer to ensure that it is configured to receive e-mail alerts from TrueSight Infrastructure Management. If it is not, an error or warning message similar to the following is displayed: 

Warning: Infrastructure Management's e-mail alerts may not work with the current configuration 

If this message is displayed, perform the following procedure.

To configure e-mail settings to receive alerts from TrueSight Infrastructure Management

  1. Review the e-mail settings and make any necessary changes, as described in the table below: 

E-mail settings required to receive alerts from Infrastructure Management

SettingLocationParameter or property to changeCorrect format
Administrator's e-mail address
  • Linux
    /usr/installationDirectory
    /etc/hosts/admin_user
  • Microsoft Windows
    installationDirectory\pw
    \etc\hosts\admin_user
admin_userFully qualified e-mail address in the following format: user@company.com
Sender's e-mail address
  • Linux
    /usr/installationDirectory
    /etc/hosts/ from_name
  • Microsoft Windows
    installationDirectory\pw
    \etc\hosts\from_name
from_nameEither user or user@company.com, depending on the valid From address accepted by the SMTP server.
SMTP server hostname or IP address
  • Linux
    /usr/installationDirectory
    /custom/conf/pronet.conf
  • Microsoft Windows
    installationDirectory\pw
    \custom\conf\pronet.conf
pronet.api.emailer.smtp.hostFully qualified server hostname or IP address reachable from the TrueSight Infrastructure Management Server host.
SMTP port
  • Linux
    /usr/installationDirectory
    /custom/conf/pronet.conf
  • Microsoft Windows
    installationDirectory\pw
    \custom\conf\pronet.conf
pronet.api.emailer.smtp.portValid port number on which the SMTP server is listening for SMTP requests.
SMTPS
  • Linux
    /usr/installationDirectory
    /custom/conf/pronet.conf
  • Microsoft Windows
    installationDirectory\pw
    \custom\conf\pronet.conf
  • pronet.api.emailer.smtp.ssl.enabled
  • pronet.api.emailer.smtp.tls.enabled
  • pronet.api.emailer.smtp.username
  • pronet.api.emailer.smtp.password


By default, these properties are not available. Add these properties if you want to configure SSL/TLS or STARTTLS protocol with SMTP.

  • ssl.enabled (true or false) - This is for SSL/TLS protocol. The standard SMTP port is 465 but configurable with smtp.port.
  • tls.enabled (true or false) - This is for STARTTLS protocol. The standard SMTP port is 587 but configurable with smtp.port.

    Note

    Do not enable both the flags at the same time.

  • username - SMTP client email ID.


  • password - Encrypted password to validate client at SMTP server.

    The password can be encrypted using the following command:

    pw email2event [-y]

    This prompts to enter a plaintext password and returns an encrypted string.


2. After you modify the e-mail settings, verify the configuration by using the following commands from  /usr/pw/pronto/bin (Linux) or installationDirectory\pw\pronto\bin (Microsoft Windows) :

    1. pw jproperties reload (reloads changed properties from pronet.conf )
    2. pw test mail (sends a test email)

Success or Failure message is sent to the administrator's e-mail address and is added to the TestEmail.log file that is located in the same directory as the verification script.
You can run the script multiple times until the email settings are configured correctly.

Was this page helpful? Yes No Submitting... Thank you

Comments