Ad Widget

Collapse

JMX : item not supported - class java.util.date

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • benbugohit
    Junior Member
    • Feb 2013
    • 18

    #1

    JMX : item not supported - class java.util.date

    Hi,

    i configured this item in zabbix, tested successfully with jmxterm, :
    jmx["org.apache.camel:context=satais-esb1/mainContext,type=processors,name=\"threadProcessor \"",LastExchangeCompletedTimestamp]

    But it becomes unsupported with the error :
    [l1processing:jmx["org.apache.camel:context=satais-esb1/mainContext,type=processors,name=\"threadProcessor \"",LastExchangeCompletedTimestamp]]attribute type is not primitive: %sclass java.util.Date

    i looked for "java.util.Date" in jgateway sources unsuccessfully :
    [s_dpc@satais-mcc gateway]$ pwd
    /opt/s-ais-dpc/mcc/zabbix-2.0.6/src/zabbix_java/src/com/zabbix/gateway
    [s_dpc@satais-mcc gateway]$ time (grep -nri "java.util.Date" ./* && echo OK)

    real 0m0.007s
    user 0m0.002s
    sys 0m0.002s
    [s_dpc@satais-mcc gateway]$


    That means that we can't retrieve values from attributes which type is
    java.util.Date ?
    Or how could i get value ? maybe syntax error in my item definition ?

    Thanks in advance
    Last edited by benbugohit; 23-05-2013, 19:41.
  • ngoswami
    Junior Member
    • Nov 2012
    • 3

    #2
    Facing the same issue

    I am also facing the same issue while trying to monitor hadoop KPIs through JMX. Is there any fix/workaround available for this issue?

    Comment

    • benbugohit
      Junior Member
      • Feb 2013
      • 18

      #3
      Originally posted by ngoswami
      Is there any fix/workaround available ?
      couldn't find none... nor answers

      Comment

      Working...