[ZBXNEXT-696] Macros used in triggers are not expanded when using {TRIGGER.NAME} in actions Created: 2011 Mar 09  Updated: 2011 Dec 22  Resolved: 2011 Mar 14

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Server (S)
Affects Version/s: 1.8.4, 1.9.1 (alpha)
Fix Version/s: 1.9.3 (alpha)

Type: Change Request Priority: Major
Reporter: Nicola Canepa Assignee: Rudolfs Kreicbergs
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I defined a trigger which uses

{IPADDRESS} in the description.
When I send an email using {TRIGGER.NAME} in the email text, it's expanded as "{IPADDRESS}

".
It works correctly elsewhere (except when filtering in the web GUI, but I can cope with this)



 Comments   
Comment by Rudolfs Kreicbergs [ 2011 Mar 10 ]

Trigger names in 1.8 do not support

{IPADDRESS} and thus {TRIGGER.NAME} is expanded as {IPADDRESS}

. However, you can add

{IPADDRESS}

macro to the email text and it will be properly resolved.

For more info about supported macros, visit http://www.zabbix.com/documentation/1.8/manual/config/macros

Comment by Rudolfs Kreicbergs [ 2011 Mar 10 ]

Available in dev branch: svn://svn.zabbix.com/branches/dev/ZBXNEXT-696

Comment by Oleksii Zagorskyi [ 2011 Mar 14 ]

i see a today documentation changes http://www.zabbix.com/documentation/2.0/manual/appendix/macros/supported_by_location
I think it better to place a references #3 at end of first sentences. At the start of sentence - it's something new for me
btw, DokuWiki supports a built in footnote future http://www.dokuwiki.org/syntax#fnt__1, although it does not suit for our case.

Just a note about macros expanding priorities ZBX-3363

Comment by richlv [ 2011 Mar 15 ]

moved footnote refs to the end of sentence

Comment by Rudolfs Kreicbergs [ 2011 Mar 17 ]

Available in pre1.9.3 r18487.

Generated at Fri Mar 29 09:17:41 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.