[ZBX-5608] Problem in trigger name macros {HOST.NAME1} resolving in Monitoring->Triggers, if trigger expression has same function more than once. Created: 2012 Sep 24 Updated: 2017 May 30 Resolved: 2012 Oct 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.3rc1 |
Fix Version/s: | 2.0.4rc1, 2.1.0 |
Type: | Incident report | Priority: | Critical |
Reporter: | Toms (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | expressions, macros | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | after.png before.png trigger_expression.png | ||||
Issue Links: |
|
Description |
Have a trigger with name "a {HOST.HOST1} {HOST.HOST2}{HOST.HOST3}{HOST.HOST4}" and expression "{5280-2:agent.ping.last(0)}=1&{5280-2:agent.ping.last(0)}=0&{5280:system.cpu.num.last(0)}=0&{5280-2:agent.ping.last(0)}=0"Trigger name in Monitoring > Triggers is exploded as "a UNKNOWN{HOST.HOST2} 5280 {HOST.HOST4}" Note that first and second functions in expression is same; |
Comments |
Comment by Toms (Inactive) [ 2012 Sep 26 ] |
fixed as well {ITEM.VALUE}not resolving if value equals to zero Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-5608 |
Comment by Alexey Fukalov [ 2012 Sep 27 ] |
(1) {HOST.HOST}macro is not resolved tomtom unable to reproduce |
Comment by Alexey Fukalov [ 2012 Sep 27 ] |
(2) tomtom RESOLVED in r30391 |
Comment by Toms (Inactive) [ 2012 Sep 27 ] |
for alternative solution Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-5608-2 (2) expandIpMacros() uses only last interface for mapping was fixed in Vedmak RESOLVED tomtom CLOSED |
Comment by Alexey Fukalov [ 2012 Sep 27 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-5608-2 |
Comment by Toms (Inactive) [ 2012 Sep 28 ] |
TESTED |
Comment by Alexey Fukalov [ 2012 Oct 04 ] |
Fixed in 2.0.4rc1 r30527, pre-2.1.0 r30528. |
Comment by Alexey Pustovalov [ 2012 Oct 04 ] |
(3) regression. Please look screenshots "before" and "after". Incorrect expanding simple macros. There uses {ITEM.LASTVALUE1}macro. Units is degrees (C). Vedmak RESOLVED r30637 tomtom This change should be commented, that this is to handle old hack! Vedmak CLOSED |
Comment by Eduards Samersovs (Inactive) [ 2012 Oct 05 ] |
Tested |
Comment by Alexey Fukalov [ 2012 Oct 05 ] |
Fixed in 2.0.4rc1 r30666, pre-2.1.0 r30667. |