[ZBX-5409] Web frontend version 2.0.2 does not show value mappings in "Latest data" Created: 2012 Aug 03  Updated: 2017 May 30  Resolved: 2012 Aug 10

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

Type: Incident report Priority: Minor
Reporter: Cristian Mammoli Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: regression, valuemapping
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Centos 6.3 x86_64, mysql server


Attachments: PNG File frontend-2-0-1.png     PNG File frontend2-0-2.png    
Issue Links:
Duplicate
is duplicated by ZBX-5519 Value Mapping not working Closed
is duplicated by ZBX-5533 Valuemaps are not working properly in... Closed
is duplicated by ZBX-5391 In the Last value is not substituted ... Closed

 Description   

After updating Zabbix from 2.0.1 to 2.0.2 I noticed tha value mappings are not displayed anymore in the "latest value" page. I only get raw numbers. Reverting the web frontend to 2.0.1 while keeping the server at 2.0.2 fixes the problem.

See attachments



 Comments   
Comment by Dmitrij Gavrilenko [ 2012 Aug 03 ]

The function "Value_mapped" also does not work for the window "Events" in Zabbix 2.0.2

Comment by richlv [ 2012 Aug 03 ]

confirming in svn head. regression. broken by :

------------------------------------------------------------------------
r28552 | vedmak | 2012-06-29 14:04:22 +0300 (Fri, 29 Jun 2012) | 1 line

..F....... ZBX-5159 fixed macro resolving in trigger description

Comment by richlv [ 2012 Aug 03 ]

i'd probably suggest some tests added, as we fix this in one place, it breaks in another, we fix it there, first place breaks again, and so on every 3 months or so.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Aug 07 ]

(1) Value mapping also didn't work in item history, plain text screens and trigger names.

RESOLVED.

<Toms> CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Aug 07 ]

(2) When item has not data, item value macros resolved to either "0" or "-". They are now resolved into "UNKNOWN", same as the server.

RESOLVED.

<Toms> CLOSED

Comment by Dmitrij Gavrilenko [ 2012 Aug 08 ]

Check, please, you solution for "Dashboard". Because "Value_mapped" also does not work for the window "Dashboard".

Comment by Pavels Jelisejevs (Inactive) [ 2012 Aug 08 ]

Dmitrij,

I forgot to mention, that the solution is currently available only in the development branch: svn://svn.zabbix.com/branches/dev/ZBX-5409. Or is the problem reproducible in the development branch too?

Comment by Dmitrij Gavrilenko [ 2012 Aug 09 ]

No. I check only 2.0.2 release.

Comment by Toms (Inactive) [ 2012 Aug 13 ]

(3) As we discussed, try to fix db fetch function to actually return null values. In latest data item last value is resolved to 0 even if it doesn't exist.

<pavels> Regrettably, this cannot be done with the current implementation of the DBFetch() function. CLOSED.

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Aug 14 ]

TESTED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Aug 15 ]

Fixed in 2.0.3rc1 r29572 and 2.1.0 r295723.

CLOSED.

Generated at Tue Apr 23 20:29:09 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.