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

    Details

    • Story Points:
      0.5

      Description

      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

       

        Attachments

        1. simple.png
          34 kB
          Vladislavs Sokurenko

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: