Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2224

Java JMX Gateway ItemChecker Error

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 2.0.10
    • Fix Version/s: None
    • Component/s: Java gateway (J)
    • Labels:
      None
    • Environment:
      Ubuntu 10.04
      java version "1.7.0_45"
      Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
      Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

      Description

      I have found an exception trying to test output with a test item.

      item key jmx.discovery.filter["org.apache.activemq:BrokerName=localhost,Type=Queue,Destination=*",Name]

      Java Error in Debug using this patch

      71054:2014-03-25 23:53:21.922 [pool-1-thread-1] DEBUG com.zabbix.gateway.ItemChecker - getting value for item 'jmx.discovery.filter["org.apache.activemq:BrokerName=localhost,Type=Queue,Destination=*",Name]'
      71153:2014-03-25 23:53:21.930 [pool-1-thread-1] DEBUG com.zabbix.gateway.ItemChecker - caught exception for item 'jmx.discovery.filter["org.apache.activemq:BrokerName=localhost,Type=Queue,Destination=*",Name]'
      71154-java.lang.NullPointerException: null
      

      Item errors our on "Not Supported" "Cannot get item value or error message".

      Not sure if related to ZBXNEXT-1223 after applying patch (most likely not).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            nhuanca Nick Huanca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: