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

Incorrect discovery of JMX attributes that contain dot or backslash in name

XMLWordPrintable

    • 0.5

      Create following discovery rule:

      jmx.discovery[attributes]
      

      Item prototype with key

      jmx[{#JMXOBJ}, {#JMXATTR}]
      

      Now discover attributes such as "s.i.m.p.l.e" (The app name) = My MBean name

      Expected:
      "s.i.m.p.l.e" MBean name works and discovered "s\.i\.m\.p\.l\.e"

      Actual:
      item "Zabbix server:jmx[com.example:type=Hello, s.i.m.p.l.e]" became not supported: getAttribute failed: ModelMBeanAttributeInfo not found for s

       

        1. simple.png
          34 kB
          Vladislavs Sokurenko

            zabbix.dev Zabbix Development Team
            vso Vladislavs Sokurenko
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: