[ZBXNEXT-3432] Please consider {HOST.HOST} and {HOST.IP} to be supported in Event tags Created: 2016 Sep 10 Updated: 2024 Apr 10 Resolved: 2017 Apr 27 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Server (S) |
Affects Version/s: | 3.2.0 |
Fix Version/s: | 3.4.0alpha1 |
Type: | Change Request | Priority: | Trivial |
Reporter: | Vitaly Zhuravlev | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 2 |
Labels: | eventcorrelation, macros, tags | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | ZBXNEXT-3432.patch screenshot-1.png screenshot-2.png screenshot-3.png screenshot-4.png screenshot-5.png | ||||||||
Issue Links: |
|
||||||||
Team: | Team A | ||||||||
Sprint: | Sprint 3, Sprint 4, Sprint 5, Sprint 6 | ||||||||
Story Points: | 3 |
Description |
Comments |
Comment by Patrick Fouquet [ 2016 Sep 10 ] |
+1 for {INVENTORY.*} macros |
Comment by Alexander Vladishev [ 2016 Oct 05 ] |
Related issue: |
Comment by Vladislavs Sokurenko [ 2017 Mar 15 ] |
Could you please try attached patch and see if it works for you ? vzhuravlev |
Comment by Vitaly Zhuravlev [ 2017 Mar 15 ] |
vso, thanks I'll try that right now |
Comment by Vitaly Zhuravlev [ 2017 Mar 15 ] |
vso, patch worked! Applied to 3.2.4. Thanks for quick response. Here is an example with many alarms now correlated using Global correlation: |
Comment by Vitaly Zhuravlev [ 2017 Mar 28 ] |
This request is basically about giving users as much flexibility as possible with correlation. In order to do that that they need to have ability to populate tags with information that they might be needed. {HOST.*}and {INVENTORY.*}are example information sources. As an alternative, those attributes (inventory fields, host names etc) could be allowed to be accessed from Global Correlation directly then you wouldn't require to populate tags with it. |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Mar 28 ] |
Guys who voted, can you please describe a use case where you need {HOST.*} macros in tags? Is support of {HOST.*} macros in tags exactly what you want or could Host name condition type in global correlation configuration be more suitable? |
Comment by Vitaly Zhuravlev [ 2017 Mar 28 ] |
{INVENTORY.LOCATION} can be used to correlate site related alarms: Power issues, Temperature issues, Connectivity issues |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Mar 28 ] |
Ok, makes sense. I see it as taking Host inventory filter from Monitoring->Problems and putting it into Configuration->Event correlation. |
Comment by Vladislavs Sokurenko [ 2017 Apr 12 ] |
Fixed in development branch: |
Comment by Andris Zeila [ 2017 Apr 18 ] |
Successfully tested. Note that heavy usage of host macros in trigger tags can lead to performance problems because of configuration cache locking. After |
Comment by Vladislavs Sokurenko [ 2017 Apr 18 ] |
Released in:
added support of {HOST.ID}, {HOST.HOST}, {HOST.NAME} macros in tags, improved to read those from cache; added support of interface macros in tags
|
Comment by Martins Valkovskis [ 2017 Apr 21 ] |
Updated documentation: vso CLOSED |