[ZBX-16176] Character Value Mappings for item prototypes not displayed in Latest data Created: 2019 May 27 Updated: 2024 Apr 10 Resolved: 2019 Jul 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 4.0.7 |
Fix Version/s: | 4.0.11rc1, 4.2.5rc1, 4.4.0alpha1, 4.4 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Vadims Kurmis | Assignee: | Andrejs Verza |
Resolution: | Fixed | Votes: | 0 |
Labels: | character, itemprototype, valuemapping, valuemaps | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS 7 |
Attachments: | image-2019-05-27-13-43-00-343.png image-2019-05-27-13-44-49-661.png image-2019-05-27-13-46-40-589.png image-2019-05-27-13-48-39-155.png image-2019-05-27-13-51-33-856.png | ||||||||
Issue Links: |
|
||||||||
Team: | Team B | ||||||||
Team: | Team B | ||||||||
Sprint: | Sprint 53 (Jun 2019), Sprint 54 (Jul 2019) | ||||||||
Story Points: | 0.125 |
Description |
Steps to reproduce:
Result: Item Prototype configuration: Value mapping: How it looks wrong in Latest data: How it looks correct in latest data item history:
See log file... |
Comments |
Comment by Vadims Kurmis [ 2019 May 27 ] |
How it should be (works in item history):
|
Comment by Vadims Kurmis [ 2019 May 27 ] |
How it actually shows in Latest data item list:
|
Comment by Vadims Kurmis [ 2019 May 27 ] |
Item prototype configuration:
|
Comment by Vadims Kurmis [ 2019 May 27 ] |
Value mapping:
|
Comment by Vadims Kurmis [ 2019 May 27 ] |
SNMPWalk output:
|
Comment by Vadims Kurmis [ 2019 May 29 ] |
I submitted one more bug report: I think these two might be related. |
Comment by Andrejs Verza [ 2019 Jun 17 ] |
Since these facts exist simultaneously:
... Therefore it is not possible to map a value with trailing spaces. Nevertheless, this can be easily solved by simply applying a TRIM function in preprocessing rule of the item prototype. As per situation with mapped values in History and not in the Latest data - that's a bug. Mapping should only happen for trimmed values. |
Comment by Andrejs Verza [ 2019 Jun 17 ] |
Resolved in development branch feature/ZBX-16176-4.0. |
Comment by Andrejs Verza [ 2019 Jul 05 ] |
Fixed in: |