Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20749

JMX Discovery wildcard not working

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.4.11
    • Java gateway (J)
    • None

      Discovery seems to be broken for wildcard searching, even when this is outlined in official documentation 

       

      Using the JMX template discovery doesn't work.

      jmx.discovery["beans","java.lang:name=*,type=GarbageCollector"] returns nothing

      jmx.discovery["beans","java.lang:name=ConcurrentMarkSweep,type=GarbageCollector"] returns the bean

      jmx.discovery["beans","*:name=ConcurrentMarkSweep,type=GarbageCollector"] returns the same bean

      jmx.discovery["beans","*:name=*type=GarbageCollector"] returns nothing

      jmx.discovery["beans","*:type=GarbageCollector"] returns nothing

       

      For me I'm trying to discovery specific MQ queues, but discovery wont find the names of all the queues unless I make a specific call to a named queue.

      jmx.discovery[beans,"My.Domain.Queues:ServiceType=Queue,Name=*"] returns nothing

      jmx.discovery[beans,"My.Domain.Queues:ServiceType=Queue,Name=\"queue.name\""] returns the bean

      jmx.discovery[beans,"My.Domain.Queues:ServiceType=Queue,Name=\"queue.*\""] returns nothing

       

            avolodin Aleksey Volodin
            minsis Dennis Whitney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: