Support Questions
Find answers, ask questions, and share your expertise

Ambari email alert format

Explorer

Is it possible to change Ambari alert email format from html to plain text?

2 REPLIES 2

Re: Ambari email alert format

Super Mentor

@Anil Bagga

Ambari provides Custom Template option for Alerting that we can use to customize what kind of mail we want to see.

Please check if you have already gone through the following docs:

https://cwiki.apache.org/confluence/display/AMBARI/Customizing+the+Alert+Template

The Example Template: https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/alert-templates.xml

In ambari.properties file as can specify which template to be used and from where like:

alerts.template.file=/etc/ambari-server/conf/my-alert-templates-custom.xml

.

Re: Ambari email alert format

Explorer

@Jay Kumar SenSharma

Thanks for documentation. Pardon me, but i am looking to specifically change the format from HTML to Plain Text while receiving emails. I did not see anything in the documentation or the sample alert-template.xml that allows us to change the format.

@Constantin Stanca Hi Christi, do you have any idea regarding this?

Thanks,

Anil