Forum Discussion

mnagel's avatar
mnagel
Icon for Professor rankProfessor
8 years ago

template engine option for alerts

Please consider adding support for an alert template processor that supports more than just token insertion.  Keeping with LM philosophy, this would be a good choice: http://docs.groovy-lang.org/next/html/documentation/template-engines.html .  Along with this, I would like to be able to have a library of templates, fragments and other template elements like layouts that can be referenced by the master template via includes and fragments.  As it stands now, it is very hard to create meaningful alerts since the content must be static.  If you need to say something different about a particular Windows Service (as one example), you cannot have conditional text that accomplishes this, you would have to create a separate datasource and the alert content still must be static and not context-aware.  I have used similar methods we've developed for Nagios, and this would be very useful to provide a better result to recipients of alerts.

Thanks,

Mark