Skip to main content
Solved

Email notifications for alerts are not working

  • December 21, 2022
  • 3 replies
  • 197 views

Hello,

I have a pipeline that reads a log file and sends alerts when CRITICAL category message is seen.

The alert works fine, I get notification on Control Hub UI, I am also getting Webhook notifications.

But the email notification does not seem to work.

Settings done in the Rules section for email: In the Data Rule - Send Email = true, In the notifications tab a valid email id is given.

Is there any other setting that overrides this? Did not see any user level preference setting option for this. 

Thanks,

Dhanashri

 

Best answer by Bikram

@Dhanashri_Bhate 

please make sure the smtp configuration has been done in SDC properties file.

 

To enable sending email, in the Data Collector configuration properties, configure the mail.transport.protocol property, and then configure the smtp/smtps properties and the xmail properties.

3 replies

Bikram
Headliner
Forum|alt.badge.img+1
  • Headliner
  • December 24, 2022

@Dhanashri_Bhate 

 

can you please check if the configuration has been done correctly or not for sending mail alerts.

 

https://docs.streamsets.com/portal/platform-datacollector/latest/datacollector/UserGuide/Configuration/DCConfig.html#task_lxk_kjw_1r


  • Author
  • Opening Band
  • December 28, 2022

Thanks, will try this. I was testing this on strigo lab and assumed the sender config is already done for the engine. 


Bikram
Headliner
Forum|alt.badge.img+1
  • Headliner
  • Answer
  • December 29, 2022

@Dhanashri_Bhate 

please make sure the smtp configuration has been done in SDC properties file.

 

To enable sending email, in the Data Collector configuration properties, configure the mail.transport.protocol property, and then configure the smtp/smtps properties and the xmail properties.