[ZBX-5159] All predefined macros with specified first item do not expand on few pages Created: 2012 Jun 09  Updated: 2017 May 30  Resolved: 2012 Aug 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.1.0
Fix Version/s: 2.0.2rc1, 2.1.0

Type: Incident report Priority: Minor
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: macros, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-3530 Wrong value display on dashboard Closed
is duplicated by ZBX-5541 Frontend error messages Closed
is duplicated by ZBX-5276 {HOST.CONN} is translated in send ale... Closed

 Description   

These pages are "STATUS OF TRIGGERS" and "System status" dashboard widget.

For example:
trigger expression is "

{C Template OS Linux:agent.ping.nodata(5m)}

=1"
trigger description is "Zabbix agent on

{HOSTNAME}

is unreachable for 5 minutes

{ITEM.LASTVALUE1} {ITEM.LASTVALUE} {ITEM.VALUE1} {HOSTNAME1}"
We see something like this:
Zabbix agent on Zabbix server is unreachable for 5 minutes {ITEM.LASTVALUE1}

Up (1)

{ITEM.VALUE1}

{HOSTNAME1}

 Comments   
Comment by Alexey Fukalov [ 2012 Jun 11 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-5159

Comment by Alexey Pustovalov [ 2012 Jun 15 ]

TESTED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jun 27 ]

(1) I suggest we separate the CDescription class into two helpers: CTriggerHelper and CEventHelper. Plus, change the interface of CTriggerDescription the way we discussed.

<Vedmak> RESOLVED

<pavels> Some more refactoring we've talked about =)

<Vedmak> RESOLVED

<pavels> CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jun 29 ]

TESTED.

Comment by Alexey Fukalov [ 2012 Jun 29 ]

Fixed in pre-2.0.2rc1 r28551, pre-2.1.0 r28552

Comment by richlv [ 2012 Aug 03 ]

this resulted in regression with valuemapping in latest data (and possibly elsewhere) : ZBX-5409

Comment by Alexander Vladishev [ 2012 Nov 07 ]

another: ZBX-5816

Generated at Thu Mar 28 22:09:04 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.