<div dir="ltr"><div>So I answered my own question here:  </div><div>After pulling down multiple versions of generic-jmx.jar I could not get compatibility working and building from source on the machine was not an option due to "Business reasons".  Ultimately I pulled down the source code for my version 5.4.1 to local built it copied my jar up with an added logger to figure out the type:</div><div><br></div><div>in ./bindings/java/org/collectd/java/GenericJMXConfValue.java</div><div><br></div><div>  private Number genericObjectToNumber (Object obj, int ds_type) /* {{{ */</div><div>  {</div><div>    Collectd.logError ("Class: " + obj.getClass().getName() + "+++");</div><div><br></div><div>this threw back a "[J"</div><div>which thanks to google is an array of long primitives</div><div><br></div><div>so I updated genericObjectToNumber with an extra case</div><div><br></div><div>    else if (obj instanceof long[])</div><div>    {</div><div>      long[] array = (long[]) obj;</div><div>      return (genericObjectToNumber(array[array.length-1], ds_type));</div><div>    }</div><div><br></div><div>and viola I have my data</div><div><br></div><div>as a side note, I also added bools</div><div>    else if (obj instanceof Boolean)</div><div>    {</div><div>      Boolean bool = (Boolean) obj;</div><div>      return (bool==true?1:0);</div><div>    }</div><div><br></div><div>thanks to anyone that looked at it.</div></div>