Hello!
I am setting up monitoring for Java application which, among other things, gives out following info over JMX which I can see with jmxterm:
I would like to get the values 'someColumn' and 'someTable' into Zabbix.
For testing, I created item with key:
and this item goes to unsupported state with error: Data object type cannot be converted to string.
In Zabbix 4.0 manual (https://www.zabbix.com/documentation...jmx_monitoring) it is said:
"Since Zabbix 4.0.0 it is possible to work with custom MBeans returning non-primitive data types, which override the toString() method."
I am using Zabbix 4.0.5.
I guess that I am facing a non-primitive data type here, but I am not very experienced with Java MBeans and data types that they return. And in Zabbix docs I couldn't find any info about *how* to work with such MBeans.
I hope someone can advise me how to proceed?
I am setting up monitoring for Java application which, among other things, gives out following info over JMX which I can see with jmxterm:
Code:
$>get OverLimitColumns #mbean = com.company.app:name=someMBean,type=someMBean: OverLimitColumns = [ table: [someTable], column [someColumn] ];
For testing, I created item with key:
Code:
jmx["com.company.app:name=someMBean,type=someMBean",OverLimitColumns]
In Zabbix 4.0 manual (https://www.zabbix.com/documentation...jmx_monitoring) it is said:
"Since Zabbix 4.0.0 it is possible to work with custom MBeans returning non-primitive data types, which override the toString() method."
I am using Zabbix 4.0.5.
I guess that I am facing a non-primitive data type here, but I am not very experienced with Java MBeans and data types that they return. And in Zabbix docs I couldn't find any info about *how* to work with such MBeans.
I hope someone can advise me how to proceed?