[ZBX-5521] In 2.0.3rc1 system macros HOST.* not work for Active items in Key field. Created: 2012 Aug 30 Updated: 2019 Dec 10 |
|
Status: | Open |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.0.3rc1 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Grzegorz Grabowski | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 8 |
Labels: | keys, macros, server | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
HOST.* macros not working in "Zabbix agent (active)" anymore (worked till version 2.0.2) Bests, |
Comments |
Comment by dimir [ 2012 Aug 30 ] |
If we end up with notable changes for end-user they should be documented here: http://www.zabbix.com/documentation/2.0/manual/introduction/whatsnew203 Also current situation (regression) is documented here: |
Comment by dimir [ 2012 Aug 30 ] |
The reason this happened is because since 2.0.3 for HOST.* macros in an item keys we get information from the interface attached to the item. So the macros are not resolved anymore for items that do not have interfaces attached. Sasha proposed to make the changes to Frontend to optionally select an interface for active agent items. That would not require any changes on the server side. So it's not clear which Component/s are related to this issue yet. <zalex> Only for agent (active) items ? <dimir> We could not see a use case for others. Database monitor could be also the case, for additional parameters for example, as you point out below. |
Comment by Grzegorz Grabowski [ 2012 Aug 31 ] |
For calculated and odbc items it has no sense because KEY field is useless (only for identification) Bests, |
Comment by Oleksii Zagorskyi [ 2012 Aug 31 ] |
But what if I want to use some HOST.* macro in a SQL query of an ODBC item ? |
Comment by Grzegorz Grabowski [ 2012 Aug 31 ] |
It never work (before). Only user macro works. Now you have to use user macro and retype ex. {$HOST.IP} = 10.1.1.1 for host if you want use macro in Additional parameters. |
Comment by Alexei Vladishev [ 2012 Sep 10 ] |
Probably it should be fixed by allowing optional interface linkage for items. |
Comment by Garry Harthill [ 2012 Sep 17 ] |
Being able to use system macros in ODBC additional parameters would be nice. I have a similar configuration and have to manually edit the ODBC item for each host. It would be great if I could stick this in a template. Is there a eta for this fix? |
Comment by Grzegorz Grabowski [ 2012 Sep 22 ] |
Is there a chance to include this fix in 2.0.3? |
Comment by richlv [ 2012 Sep 22 ] |
definitely not, as there is no fix yet, and 2.0.3 is about to be released |
Comment by nms_user [ 2013 Apr 15 ] |
Any chance to get this thing fixed soon? I did the migration from 1.8.x to 2.0.5 today and am affected, too. |
Comment by Aleksandrs Saveljevs [ 2015 Jul 31 ] |
ZBXNEXT-2896 wants the same for external checks. |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Nov 29 ] |
Should be moved to ZBXNEXT project, I think. |