Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. On the Ambari Server host, browse to /etc/ambari-server/conf directory.
  2. Edit the ambari.properties file.
  3. Add an entry for the location of your new template (that will override the default template).   
    Code Block
    alerts.template.file=/foo/var/alert-templates-custom.xml
      


  4. Save the file and restart Ambari Server.

 

...


Note

Some alert notification types, such as EMAIL, automatically combine all pending alerts into a single outbound notification ("digest"). Others, like SNMP, never combine pending alerts and will always create a 1:1 notification for every alert in the system ("individual"). All alert notification types are specified in the same alert templates file, but the specific alert template for each notification type will most likely vary greatly.

...