[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: |
|
||||||||
| 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" 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, |
| 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. |