I am working on setting up a weblogic template. We use zabbix 4.4 with a java gateway 4.4.1 and connect to a weblogic 12.2.1.3.
My problem is that i cant see data/attrubutes for all the mbeans. through zabbix. I see them fine in jconsole.
I zabbix i can see the java.lang for instance the Garbeag collector. but i dont get data for data in the com.bea part.
My garbage collector discovery rule is configured like this:
key: jmx.discovery[beans,"*:type=GarbageCollector,name=*"]
jmx endpoint: service:jmx:rmi:///jndi/iiop://{HOST.CONN}:{HOST.PORT}/weblogic.management.mbeanservers.domainruntime
and i have an Item prototype like this:
Name: GC {#JMXLOCATION} {#JMXNAME} CollectionCount
Key: jmx[{#JMXOBJ},CollectionCount]
Jmx endpoint: service:jmx:rmi:///jndi/iiop://{HOST.CONN}:{HOST.PORT}/weblogic.management.mbeanservers.domainruntime
This works fine and i see the data.
But im also interestet in things like the state of my managed servers (in the com.bea)...
So i create a discovery rule for that
key: jmx.discovery[beans,"*:type=Server,name=*"]
jmx endpoint: service:jmx:rmi:///jndi/iiop://{HOST.CONN}:{HOST.PORT}/weblogic.management.mbeanservers.domainruntime
and i have an Item prototype like this:
Name: MS {#JMXLOCATION} {#JMXNAME} State
Key: jmx[{#JMXOBJ},StartupMode]
Jmx endpoint: service:jmx:rmi:///jndi/iiop://{HOST.CONN}:{HOST.PORT}/weblogic.management.mbeanservers.domainruntime
I dont get any data. for this and in the java gateway log i se this:
2019-11-28 13:32:26.235 [pool-1-thread-2] DEBUG com.zabbix.gateway.ItemChecker - getting value for item 'jmx.discovery[beans,"*:type=Server,name=*"]'
2019-11-28 13:32:26.239 [pool-1-thread-2] DEBUG com.zabbix.gateway.ItemChecker - received value '{"data":[]}' for item 'jmx.discovery[beans,"*:type=Server,name=*"]'
This is one of the mbean's i try to hit...

My problem is that i cant see data/attrubutes for all the mbeans. through zabbix. I see them fine in jconsole.
I zabbix i can see the java.lang for instance the Garbeag collector. but i dont get data for data in the com.bea part.
My garbage collector discovery rule is configured like this:
key: jmx.discovery[beans,"*:type=GarbageCollector,name=*"]
jmx endpoint: service:jmx:rmi:///jndi/iiop://{HOST.CONN}:{HOST.PORT}/weblogic.management.mbeanservers.domainruntime
and i have an Item prototype like this:
Name: GC {#JMXLOCATION} {#JMXNAME} CollectionCount
Key: jmx[{#JMXOBJ},CollectionCount]
Jmx endpoint: service:jmx:rmi:///jndi/iiop://{HOST.CONN}:{HOST.PORT}/weblogic.management.mbeanservers.domainruntime
This works fine and i see the data.
But im also interestet in things like the state of my managed servers (in the com.bea)...
So i create a discovery rule for that
key: jmx.discovery[beans,"*:type=Server,name=*"]
jmx endpoint: service:jmx:rmi:///jndi/iiop://{HOST.CONN}:{HOST.PORT}/weblogic.management.mbeanservers.domainruntime
and i have an Item prototype like this:
Name: MS {#JMXLOCATION} {#JMXNAME} State
Key: jmx[{#JMXOBJ},StartupMode]
Jmx endpoint: service:jmx:rmi:///jndi/iiop://{HOST.CONN}:{HOST.PORT}/weblogic.management.mbeanservers.domainruntime
I dont get any data. for this and in the java gateway log i se this:
2019-11-28 13:32:26.235 [pool-1-thread-2] DEBUG com.zabbix.gateway.ItemChecker - getting value for item 'jmx.discovery[beans,"*:type=Server,name=*"]'
2019-11-28 13:32:26.239 [pool-1-thread-2] DEBUG com.zabbix.gateway.ItemChecker - received value '{"data":[]}' for item 'jmx.discovery[beans,"*:type=Server,name=*"]'
This is one of the mbean's i try to hit...
Comment