Ad Widget

Collapse

jmx monitoring syntax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sasha9
    Junior Member
    • Jul 2014
    • 1

    #1

    jmx monitoring syntax

    I am monitoring heap size of tomcat with the following key (successfully)

    jmx[java.lang:type=Memory,HeapMemoryUsage.used]



    I'd like to monitor Perm Gen..and tried the following:

    jmx[java.lang:name=CMS Perm Gen,type=MemoryPool.used]
    and
    jmx[java.lang:type=MemoryPool,name=CMS Perm Gen.used]
    and
    jmx[java.lang:type=MemoryPool,CMS Perm Gen.used]

    but gui is reporting not supported


    I used jmxterm to confirm mbean:

    #mbean = java.lang:name=CMS Perm Gen,type=MemoryPool:
    Usage = {
    committed = 228458496;
    init = 134217728;
    max = 268435456;
    used = 138297688;
    };

    but it would seem that I am struggling to syntax of entering it properly into zabbix gui.

    Can anyone help me please?
  • lathamr
    Junior Member
    • Sep 2013
    • 1

    #2
    I am not positive, but believe that you will need quotes around the clauses with embedded blanks.

    i,e.

    jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.committed"]

    is working for me.

    Comment

    Working...