Ad Widget

Collapse

MACRO is not available from action

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cghnassia
    Junior Member
    • Oct 2014
    • 1

    #1

    MACRO is not available from action

    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
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    Note that resolving user macros in notifications and commands is supported not before Zabbix 2.4.
    See: ZBXNEXT-751 or What's new in Zabbix 2.4.0

    Comment

    Working...