[ZBXNEXT-715] Long label for map Created: 2011 Mar 24  Updated: 2017 May 31  Resolved: 2013 Oct 22

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: 2.0.0
Fix Version/s: 2.1.9

Type: Change Request Priority: Trivial
Reporter: Vyacheslav Assignee: Unassigned
Resolution: Fixed Votes: 3
Labels: maps, trivial, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

v1.8.4 + mysql 5.5


Attachments: JPEG File GEDE.JPG    
Issue Links:
Duplicate
is duplicated by ZBXNEXT-1721 Support Map Link Lables with more tha... Closed

 Description   

If a large sign to the site on a map while maintaining the database it is truncated to 255 characters. I'm in the table `sysmaps_elements` changed the field of `label` varchar to a text, if it works correctly, please add this fix in the next release.
Example label:

{HOSTNAME}
Charge:{{HOSTNAME}

:GEDE_SitePro_upsEstimatedChargeRemaining.last(0)}
Load L1: {{HOSTNAME}:GEDE_SitePro_upsOutputPercentLoad_L1.last(0)}
Load L2: {{HOSTNAME}:GEDE_SitePro_upsOutputPercentLoad_L2.last(0)}
Load L3: {{HOSTNAME}:GEDE_SitePro_upsOutputPercentLoad_L3.last(0)}
MinutesRemaining:{{HOSTNAME}:GEDE_SitePro_upsEstimatedMinutesRemaining.last(0)}
Temperature:{{HOSTNAME}:GEDE_SitePro_upsBatteryTemperature.last(0)}



 Comments   
Comment by richlv [ 2013 Apr 24 ]

this should be considered both for element and link labels

Comment by Alexander Vladishev [ 2013 Oct 21 ]

Available in the development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-715

Comment by Andris Zeila [ 2013 Oct 22 ]

Successfully tested

Comment by Alexander Vladishev [ 2013 Oct 22 ]

Available in versions pre-2.1.9 r39470.

Comment by richlv [ 2013 Oct 22 ]

(2) was this also implemented for link labels or only element labels ?

<richlv> commit message mentions link labels, CLOSED

Comment by Alexander Vladishev [ 2013 Oct 22 ]

(1) updated documantation:

martins-v REVIEWED. The "what's new" entry moved in with map-related improvements: https://www.zabbix.com/documentation/2.2/manual/introduction/whatsnew220#map_label_length_limit_increased

sasha Thanks! CLOSED

Generated at Tue Apr 08 15:46:34 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.