Customize default tagmail report

asked 2017-06-23 03:33:26 -0500

rajeevsharma gravatar image

Hi, I have integrated latest tagmail module with my PE2017.2 and it's working like charm. I am able to send mails based on the log level. However I have some special requirement to set some specific messages in Subject or in Mail Body. e.g. Right now I am getting subject text in mails as below:

Puppet Report for puppetnode

But instead I like to have following in case of failure or successful respectively:

Puppet Report for puppetnode [FAILED]
Puppet Report for puppetnode [SUCCESSFUL]

It seem we can use report processor but I'm not sure where and how? Any ideas or example?

edit retag flag offensive close merge delete