[ZBX-14597] optunuzi jmx object name Created: 2018 Jul 12  Updated: 2019 Jan 30  Resolved: 2019 Jan 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Java gateway (J)
Affects Version/s: 3.4.11
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: matthew peng Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: graphs, legend
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File image-2018-07-12-15-14-21-204.png    

 Description   

Steps to reproduce:

  1. For PCF JMX or other devops plateform, they provide long JMX object name
  2. When i use dicovery  item prototype to gen item as : CPU percentage {#JMXOBJ}
  3. The graph gen date below

Result:
Can not show complete data
Expected:
optunuzi macros like using : {#JMXOBJ.job}, {#JMXOBJ.name}

or  show complete graph when the item name is long



 Comments   
Comment by Aigars Kadikis [ 2019 Jan 30 ]

Hello matthew peng,

Thank you for registering this thread.

Item keys and so as item name, in general, are limited to 255 chars. If the variable coming from LLD comes a little bit too long (like 260 chars), you can work around the issue by picking a shorter item key. like replacing:

long.item.key["{#JMXOBJ.name}"]

to short:

s[{#JMXOBJ.name}]

Regarding:  I can see there is some gap in the graph, but that is probably because of missing historical data.

I will close this topic as "Won't fix" but feel free jump in if you got additional information to attach.

Generated at Fri Apr 04 22:32:02 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.