[ZBX-16022] Unable to create calculated item based off jmx item Created: 2019 Apr 17 Updated: 2019 May 30 Resolved: 2019 May 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.0.5 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Major |
Reporter: | Eladio Caritos | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | items, jmx | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
RHEL 7 |
Attachments: |
![]() |
Description |
Steps to reproduce:
Result: Cannot evaluate expression: "Cannot evaluate function "last()": item "hostname:jmx["org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Topic,destinationName=XYZ","EnqueueCount"]" not supported.". Expected: |
Comments |
Comment by Glebs Ivanovskis [ 2019 Apr 17 ] |
Error message says your JMX item is not supported. Is it true? If yes, this is likely the root cause of your issue. |
Comment by Eladio Caritos [ 2019 Apr 17 ] |
I've tested with other JMX item and I'm able to get data. last("hostname:jmx[\"java.lang:type=MemoryPool,name=G1 Old Gen\",\"Usage.max\"]")
Yes, there is something particular about this JMX item (last("hostname:jmx[\"org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Topic,destinationName=XYZ\",\"EnqueueCount\"]") but not sure exactly why this is failing |
Comment by Eladio Caritos [ 2019 Apr 17 ] |
Also, just for clarification, I have created the JMX item with no issues. The JMX associated with activemq is able to retrieve data and work with triggers. It's only when I use that JMX item as a part of a calculated item does the errors show up. |
Comment by Eladio Caritos [ 2019 Apr 26 ] |
Cool. Thanks for looking into the ticket. Looking forward to a fix. |
Comment by Oleksii Zagorskyi [ 2019 May 30 ] |
Nor supported JMX item - is the key point. |