Hi Team,
I am working on email template and trying to add some custom data coming from log fields .
Could someone suggest how to create custom macros and add any log field data into email template.
Thanks in advance
How to create custom macros for email template?
-
- Posts: 22
- Joined: Wed Sep 15, 2021 5:43 am
Re: How to create custom macros for email template?
Hello @SuryanuSanyal,
Thanks for reaching out, we see that we currently have a list of macros available for email templates. List found here:
http://yourlogserveraddresshere/nagioslogserver/alerts/templates
I see that this feature has been requested and is currently on the list. A possible workaround to pull data from 'api', to get results from a custom script from alert options. This would be out of the support scope but we would be able to help with questions.
Thanks,
Perry
Thanks for reaching out, we see that we currently have a list of macros available for email templates. List found here:
http://yourlogserveraddresshere/nagioslogserver/alerts/templates
I see that this feature has been requested and is currently on the list. A possible workaround to pull data from 'api', to get results from a custom script from alert options. This would be out of the support scope but we would be able to help with questions.
Thanks,
Perry