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

java gateway returns value together with error

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • None
    • Java gateway (J)

      request a proper object from a jmx endpoint, for example :

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

      only value is returned. request invalid one, for example :

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

      error is returned, but for some reason value is returned as well :

      {
      "data": [

      {"value": "2205192"}

      ,

      {"error": "No such attribute: HeapMemoryUsage22"}

      ],
      "response": "success"
      }

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: