search cancel

notifications not emailing

book

Article ID: 214745

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration

Issue/Introduction

It seems we can create an event in CAPM but they are not getting emailed  As a result we are not able to send email out via notifications

Cause

Errors in the EMService.log indicate an incorrect email server address

TRACE | pool-3-thread-3          | 2021-05-07 10:36:45,719 | com.ca.im.portal.em.notifications.EmailHandlerImpl               
      | DEBUG SMTP: trying to connect to host "mail-domain.com", port 25, isSSL false

notice that "mail-domain" is an invalid address. It should be "mail.domain.com

The following query also shows the invalid entry for NpcSmtpHost

mysql> select * from netqosportal.performance_center_properties where propname like 'NpcSmtp%';
+-----------------------+----------+---------------------------+---------+------------+
| PropName             | Priority | PropValue                | Deleted | UpdatedOn |
+-----------------------+----------+---------------------------+---------+------------+
| NpcSmtpAuthentication |       0 | false                    | N      | 1519400090 |
| NpcSmtpAuthentication |       1 | false                    | N      | 1619721925 |
| NpcSmtpAuthentication |       2 | false                    | N      | 1620400454 |
| NpcSmtpEnabled       |       0 | true                     | N      | 1519400090 |
| NpcSmtpEnabled       |       1 | true                     | N      | 1619721770 |
| NpcSmtpEnabled       |       2 | true                     | N      | 1620400454 |
| NpcSmtpHost          |       1 | mail-domain.com | N      | 1619721795 |

Environment

Release : 20.2

Component : PERFORMANCE MANAGEMENT INTEGRATIONS

Resolution

Fix the incorrect reference to email server in SsoConfig

 cd /opt/CA/PerformanceCenter/
[[email protected] PerformanceCenter]# ./SsoConfig
Single Sign-On Configuration Tool
Enter q to quit the program or b to go back to previous menu

SSO Configuration:
1. DX NetOps
Choose an option > 1

SSO Configuration/DX NetOps:
1. LDAP Authentication
2. SAML2 Authentication
3. Performance Center
4. Single Sign-On
5. Test LDAP
6. Export SAML2 Service Provider Metadata
7. Enable FIPS
8. Performance Center Local Password Authentication
9. Enable or Disable a user account.
Choose an option > 3


1. Remote Value
2. Local Override
Choose an option >

Check both "Remote Value" and "Local Override" for the invalid entry

In this case the Remote Value for SMTP Server address was invalid

SMTP Server Address: mail-domain.com

Choose 1 for Remote Value
Choose 11 for SMTP Server Address:
Choose "u" to update
Enter the correct value for SMTP server address; mail.domain.com