My Ambari Alert work ok, But I have problem when I check email on Outlook.
In I have status icon
But when open on outlook, it have only text
Anyone know how to fix this issue ?
Notifications generated from Ambari are done so via a template called alert-templates.xml which can be found in /var/lib/ambari-server/resources. This template uses internal CSS to decorate the HTML elements. The version of Outlook you're using may strip out internal (or all) CSS. You will probably need to adjust this XML file to produce HTML which is compatible with the email clients you're using.
It's also possible that inline CSS would work with Outlook but for some reason internal CSS does not. We can certainly looking into changing the styles in a future build of Ambari.
My apologies - I had forgotten that we don't ship that file anymore. Instead, you need to provide you own and supply it to Ambari via ambari.properties. Please see https://cwiki.apache.org/confluence/display/AMBARI/Customizing+the+Alert+Template
However, you can see the one which we use by default here:
This file uses internal style sheets - Outlook may only like inline styles.
I recently had a chance to test this using Outlook 2016 and the emails were displayed correctly. It's possible that it's an issue with your specific version of Outlook or your email provider stripping out CSS.