Skip to main content
Skip table of contents

Templates (Alerts or Reports)

Feature

Templates are used by Germain to send out an email, sms or report.

Apache Freemarker

The template processing is implemented using the Freemarker template engine. Germain supports any construct allowed by Freemarker. For more information on using the Freemarker template engine, you can refer to the Freemarker documentation available at: http://freemarker.org/docs/ .

Context Data

The context data consists of the following root data objects.

  • customerName (String)

  • environmentName (String)

  • alertType (String)

  • alertGroup (String)

  • context (Object)

  • firstOccurred (Date)

  • occurrences (Integer)

The details of each of these data objects are given in the following paragraphs. The context is different from all of the other context data objects in that its structure and contents depend on the alertType.  Each alertType can have its own context data types, but for a given alertType the context data will always have the same structure.  In the following paragraphs we will define the contents of the context data object for each of the current alertTypes.

  • alertType: SLA

For SLA alerts, the context objects have the following structure:

  • fact (Object)

Can be one of the following types (See the Fact Type Definitions)
Note: For statistical SLA alerts the fact object is not available.

  • AVAILABILITY (Object)

  • EVENT (Object)

  • METRIC (Object)

  • NETWORK_LATENCY (Object)

  • TRANSACTION (Object)

  • UX_EVENT (Object)

  • UX_METRIC (Object)

  • UX_TRANSACTION (Object)

Fact Definitions

More details on Germain UX’s data model and fact.

Configuration

Details on how to configure Template in Germain UX.

Edit a template

Go to Germain Workspace > Left Menu > Analytics> SLA > Select a SLA > Edit Template link (on the right panel).

View a template

Go to Germain Workspace > Left Menu > System> Templates

Video Example

https://www.youtube.com/watch?v=R1VKm10ltYI

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.