Ad Widget

Collapse

Unable to use same jmx item key with multiple interfaces

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fabrice4
    Junior Member
    • Jul 2015
    • 2

    #1

    Unable to use same jmx item key with multiple interfaces

    Hello,



    I'm very surprised by this bug because, with jmx monitoring, we have very often the same jmx path for different java applications on the same host, example is heap memory usage :

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

    Do we have any hack.. ?

    Thanks,
    Fabrice
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    The key as a whole must be unique. One variation is to put a blank, or two, or three.... for the 2nd or 3rd or 4th interface between the opening square bracket and the first parameter.
    Why the first? Because this is most likely recognized when looking at it but finally it doesn't care where it is placed as long as the key is different from others and syntactically still correct, of course

    Comment

    Working...