[ZBXNEXT-744] New macros for notifications: ITEM.ID and TRIGGER.EXPRESSION Created: 2011 Apr 13  Updated: 2012 Mar 23  Resolved: 2012 Mar 20

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: None
Fix Version/s: 1.8.12, 2.0.0

Type: Change Request Priority: Trivial
Reporter: Will Lowe Assignee: Unassigned
Resolution: Fixed Votes: 3
Labels: macros
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

I'd like to see an ITEM.ID macro so that we could include URLs to history graphs in alert messages, e.g.:

/history.php?action=showgraph&itemid=

{ITEM.ID}

This would vastly improve our workflow.



 Comments   
Comment by João Figueiredo [ 2011 Jun 30 ]

This would be quite useful to quickly get a view of the event evolution without manually navigating through the interface.

Comment by Marcin Gapiński [ 2011 Nov 03 ]

I concur, I was actually surprised when I found out that there's no such macro yet

Comment by Alexander Vladishev [ 2012 Mar 20 ]

Available in the development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-744

Comment by Alexander Vladishev [ 2012 Mar 20 ]

Updated documentation:
http://www.zabbix.com/documentation/1.8/manual/config/macros?&#list_of_supported_macros
http://www.zabbix.com/documentation/2.0/manual/appendix/macros/supported_by_location?&#overview

<richlv> also added this info in http://www.zabbix.com/documentation/1.8/manual/about/what_s_new_1.8.12

<zalex> interesting, will be the macro TRIGGER.EXPRESSION exploded to item names and trigger function? If yes, I think it worth to add one word "exploded" or so to the documentation.

<Sasha> It's an user documentation. About the collapsed trigger expression user shouldn't know. It will mislead.

Comment by dimir [ 2012 Mar 20 ]

Fix Summary

Comment by Oleksii Zagorskyi [ 2012 Mar 20 ]

Rich, Sasha, would be nice to remove 1.8.2 from Fix Version/s

<richlv> removed

Comment by dimir [ 2012 Mar 20 ]

Successfully tested!

Comment by Alexander Vladishev [ 2012 Mar 20 ]

Available in version pre-1.8.12, revision 26242.

Comment by dimir [ 2012 Mar 21 ]

Reassign.

Comment by Alexander Vladishev [ 2012 Mar 21 ]

Trunk: available in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-744

Comment by dimir [ 2012 Mar 21 ]

Tested, perfect!

Comment by Alexander Vladishev [ 2012 Mar 21 ]

Available in version pre-2.0.0, revision 26293.

Generated at Thu Mar 28 17:37:43 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.