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
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
Comment