Hi,
I'm a new user of Zabbix. What I would like to do is to customize the email alerting the user regarding the template used by the said host. For example, if the host use templateA, i would like to include an url wiki.company.com/problem1.
I tought using a template macro {$URL} defined for each relevant template, and to use a user macro {$URL} equals to ' ' in the case there is no macro defined.
So in the defintion of the action, i use the macro at the end of the message as below:
More Information on {$URL}
Unfortunately when an email is sent, the macro is not replaced by its value. It seems that using template macros or user macros are not available in the action message.
Do you have an idea about how I can do this ?
Thanks
I'm a new user of Zabbix. What I would like to do is to customize the email alerting the user regarding the template used by the said host. For example, if the host use templateA, i would like to include an url wiki.company.com/problem1.
I tought using a template macro {$URL} defined for each relevant template, and to use a user macro {$URL} equals to ' ' in the case there is no macro defined.
So in the defintion of the action, i use the macro at the end of the message as below:
More Information on {$URL}
Unfortunately when an email is sent, the macro is not replaced by its value. It seems that using template macros or user macros are not available in the action message.
Do you have an idea about how I can do this ?
Thanks
Comment