Hi,
I noticed the zapcat templates do not include any entries for monitoring the heap. So visited http://myserver/zapcat-1.2/mbeans.jsp and found this
jmx[java.lang:type=Memory]
[Verbose] unknown (boolean), but you can try using 'character'.
[ObjectPendingFinalizationCount] numeric (integer 64bit)
[HeapMemoryUsage] unknown (javax.management.openmbean.CompositeData), but you can try using 'character'.
So for my host item on zabbix I put in this
jmx[java.lang:type=Memory][HeapMemoryUsage]
Set the data type to character, however the data that gets returned looks like this:
javax.management.openmbean.CompositeDataSupport(co mpositeType=javax.management.openmbean.CompositeTy pe(name=java.lang.management.MemoryUsage,items=((i temName=committed,itemType=javax.management.openmb ean.SimpleType(name=java.lang.Long)),(itemName=ini t,ite [and its trimmed there...]
Anyways, I'd just like to have a byte count of how many bytes of the Heap are being used when I ask... Ideas?
I noticed the zapcat templates do not include any entries for monitoring the heap. So visited http://myserver/zapcat-1.2/mbeans.jsp and found this
jmx[java.lang:type=Memory]
[Verbose] unknown (boolean), but you can try using 'character'.
[ObjectPendingFinalizationCount] numeric (integer 64bit)
[HeapMemoryUsage] unknown (javax.management.openmbean.CompositeData), but you can try using 'character'.
So for my host item on zabbix I put in this
jmx[java.lang:type=Memory][HeapMemoryUsage]
Set the data type to character, however the data that gets returned looks like this:
javax.management.openmbean.CompositeDataSupport(co mpositeType=javax.management.openmbean.CompositeTy pe(name=java.lang.management.MemoryUsage,items=((i temName=committed,itemType=javax.management.openmb ean.SimpleType(name=java.lang.Long)),(itemName=ini t,ite [and its trimmed there...]
Anyways, I'd just like to have a byte count of how many bytes of the Heap are being used when I ask... Ideas?
Comment