Ad Widget

Collapse

JMX : item not supported

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • benbugohit
    Junior Member
    • Feb 2013
    • 18

    #1

    JMX : item not supported

    Hello,

    I have a complex jmx object, from which i'd like to retrieve several values
    but it actually doesn't work.
    I just upgraded from 2.0.2 to 2.0.6 (jgateway included).
    JMX templates works with the hosts defined, but not this manually created item :

    item [l2processing:jmx["org.apache.camel:context=satais-xxxx.xxx.xxx/mainContext,type=threadpools,name=\"threadProcesso r(threads)\"","ActiveCount"]] became not supported: org.apache.camel:context=satais-xxxx.xxx.xxx/mainContext,type=threadpools,name="threadProcessor (threads)"

    In jconsole, the ObjectName is :
    org.apache.camel:context=satais-xxxx.xxx.xxx/mainContext,type=threadpools,name="threadProcessor (threads)"
    and the ClassName is :
    org.apache.camel.management.mbean.ManagedThreadPoo l
    Its attribute "ActiveCount" type is "int".

    What's wrong with my objectName typo in the item definition ?

    Thanks in advance !
    Last edited by benbugohit; 21-05-2013, 11:22. Reason: solved issue
  • benbugohit
    Junior Member
    • Feb 2013
    • 18

    #2
    I finally got it working thanks to this configuration :

    jmx["org.apache.camel:context=satais-esb1/mainContext,type=threadpools,name=\"threadProcesso r(threads)\"",ActiveCount]

    Comment

    Working...