Created 02-16-2022 07:46 PM
Hi All,
I want to append cluster name in the 'Cloudera Alert mail subject'. I am not getting any configuration for same. Please suggest how to do that.
Current Subject:
[Cloudera Alert] 4 Alerts since 2:31:41 AM
Want to change as below (assuming cluster name as ABC):
[Cloudera Alert - ABC ] 4 Alerts since 2:31:41 AM
Regards,
Banshi.
Created 02-16-2022 09:59 PM
Hi @banshidhar_saho ,
Unfortunately, there is no configuration in CM that will let you change the header of the alert email or the format of the alert email. However, there is a customization you can do by developing a custom script that (a) takes in a JSON string of alerts; and (b) builds and email object and sends it off to your SMTP server. It takes some effort to write the script, but gives you all the flexibility.
See more details here: https://docs.cloudera.com/cdp-private-cloud-base/7.1.3/monitoring-and-diagnostics/topics/cm-alerts-s...
If this is helpful, please accept this reply as a solution.
Regards,
Alex
Created 02-16-2022 09:59 PM
Hi @banshidhar_saho ,
Unfortunately, there is no configuration in CM that will let you change the header of the alert email or the format of the alert email. However, there is a customization you can do by developing a custom script that (a) takes in a JSON string of alerts; and (b) builds and email object and sends it off to your SMTP server. It takes some effort to write the script, but gives you all the flexibility.
See more details here: https://docs.cloudera.com/cdp-private-cloud-base/7.1.3/monitoring-and-diagnostics/topics/cm-alerts-s...
If this is helpful, please accept this reply as a solution.
Regards,
Alex
Created 02-20-2022 09:19 PM
@banshidhar_saho, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.
Regards,
Vidya Sargur,