Event Handler Email Format
-
Good Morning Everyone,
I'm working on getting the event dectection/handling for equipment faults operational in our main Mango installation.
So far the detectors are working great and sending out an email when needed.
However, all the systems we have reporting in have the same data point template, so I cannot tell which system has the issue.
For example:
Is there a simple way to distinguish between the points that I am missing? The alias field works, but I have to manually generate those.
Also, is there a way to edit the email format similar to the way reports are done?
-
Hi Brad,
I am not sure I understand what I'm looking at. Those are points with the same device name and point name in the event handlers page? You could either have differentiated point names, or use the alias.
Email format is shared between all events, but you can find the templates used (same language as reports, FTL) in the Mango/ftl/ directory. You can get some clues as to what is in the template model here: https://github.com/infiniteautomation/ma-core-public/blob/c696512bfe60accfa278b3f1364650a0aa009bc8/Core/src/com/serotonin/m2m2/rt/event/handlers/EmailHandlerRT.java#L210
-
@phildunlap Thanks Phil,
I wrote an excel sheet that automated the alias generation.
I'll check out that ftl file and see what I can do.