Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-8593

JMX support for java.util.LinkedList data object type

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • None

      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

            Unassigned Unassigned
            mcerutti Matteo Cerutti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: