[ZBXNEXT-3375] {ITEM.LASTVALUE} truncates at 20 characters Created: 2016 Aug 11  Updated: 2016 Aug 11  Resolved: 2016 Aug 11

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 3.0.3, 3.0.4, 3.2.0alpha1
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Christopher Demmer Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: frontend, items, macros, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-2.png    
Issue Links:
Duplicate
duplicates ZBXNEXT-1016 show full value for truncated entries... Reopened

 Description   
{ITEM.LASTVALUE}

truncates at 20 characters which limits the description of a trigger when used in the trigger name field.

Please increase the ITEM VALUE trim size in the items.inc.php file from 20 to at least 40.



 Comments   
Comment by Dmitrijs Lamberts [ 2016 Aug 11 ]

Duplicate of ZBXNEXT-1016

Workaround:

In Zabbix versions 3.0.1 you change line 901 & line 902 in the items.inc.php file from 20 to whatever length you desire. And in Zabbix versions 3.0.3 you change line 932 & line 933 in the items.inc.php file from 20 to whatever length you desire.
Review screenshot-2 for the exact lines of code that need to be altered.

More info: ZBX-4303

Comment by Christopher Demmer [ 2016 Aug 11 ]

Dmitrijs, I do not appreciate you closing feature request ZBXNEXT 3375. Although both features of ZBXNEXT 1016 & ZBXNEXT 3375 involve the same macro. The 2 tickets are requesting different functionality. Also, request ZBXNEXT 1016 was submitted in 2011 and still has not been addressed.

Comment by Dmitrijs Lamberts [ 2016 Aug 11 ]

Christopher,

Despite that ZBXNEXT-1016 and ZBXNEXT-3375 are requesting different functionality - they all are about truncated macro description because of 20 characters limit in items.inc.php file.
Most important here is that problem is already known and might be fixed under ZBXNEXT-1016.
Multiple feature requests with the same main idea won't speed up the process.

Generated at Fri Apr 26 15:11:05 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.