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

JMX LLD item prototype does not correctly escape double quotes required for JMX monitoring

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • None
    • Java gateway (J)
    • None
    • ReadHat Enterprise 7
      MySQL 5.6.36

      I am doing JMX LLD and it does not escape double quotes correctly:

      Scenario:

      Discovery Type - JMX Agent
      Key - jmx.discovery

      Filter

      {#JMXOBJ} matches ^Standalone:type=Connector
      {#JMXATTR} matches ^localPort

      This gived only some values for connectors which will be used for connector monitor

      Item prototypes

      Name cl current Thread Count ({#JMXVALUE})
      Type JMX Agent
      Key jmx[Standalone:type=ThreadPool,name=\"ajp-nio2-{#JMXVALUE}\",currentThreadCount]

      The name in Java console for that beam is exactly Standalone:type=ThreadPool,name="ajp-nio2-8605" and I can't get it working.

      Is this a bug or there is something is missing?

      Error in log:

      error reason for "host:jmx[Standalone:type=ThreadPool,name="ajp-nio2-8605",currentThreadCount]" changed: required key format: jmx[<object name>,<attribute name>]
      

            Unassigned Unassigned
            vrtareg Areg Vrtanesyan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: