[ZBX-8593] JMX support for java.util.LinkedList data object type Created: 2014 Aug 07  Updated: 2020 Feb 20  Resolved: 2014 Aug 07

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Matteo Cerutti Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-1570 Unsupported- While creating the Item>... Open

 Description   

It would be nice if Zabbix JMX monitoring supported object types other than simple Strings, Integer, Hash etc.

Specifically, I am trying to monitor some attributes in the Mailarchiva JMX interface. I've set up the item as follows:

jmx["com.stimulus.archiva:name=Volumes,type=ROOT",Volumes]

However, the item falls back into unsupported state and all I get is this: data object type is not primitive: %sclass java.util.LinkedList

Running a JMX query against it gives me the following:

java org.apache.hadoop.hbase.jmxtoolkit.JMXToolkit -u "service:jmx:rmi:///jndi/rmi://172.20.185.39:12345/jmxrmi" -o "com.stimulus.archiva:name=Volumes,type=ROOT"
WARNING: Unsupported attribute return type -> List, attribute -> Volumes
Volumes:[ ACTIVE store:/opt/mailarchiva/vol/store/vol201407 (free:47.43 GB, used:1.4 GB) index:/opt/mailarchiva/vol/index/vol201407 (free:48.67 GB, used:165.33 MB]

Is there any other way that I can get this information? Sure one way would be to hack together a script that does the above and parse the output.

Thanks,
Matteo



 Comments   
Comment by Aleksandrs Saveljevs [ 2014 Aug 07 ]

The linked feature request ZBXNEXT-1570 asks for ArrayList support. It makes sense to implement support for ArrayList and LinkedList together, so let's keep only one issue open. Closing this one as a duplicate.

Generated at Fri Jun 19 04:08:01 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.