Hi to all ,
I've problem with all jmx interface on my zabbix. When i manually run "test item" I had response but still status of all jmx interface is still unknown .
In Jmx java gateway log everything look fine
I've zabbix server on centos 8
configuration zabbix server
configuration java gateway
Before i had zabbix 3.0 and everything with jmx was ok.
Do someone know where is problem?
Thnx


I've problem with all jmx interface on my zabbix. When i manually run "test item" I had response but still status of all jmx interface is still unknown .
In Jmx java gateway log everything look fine
Code:
[FONT=monospace][COLOR=#000000]2022-06-15 08:43:23.543 [pool-2-thread-3] DEBUG com.zabbix.gateway.SocketProcessor - starting to process incoming connection [/COLOR]
2022-06-15 08:43:24.047 [pool-2-thread-3] DEBUG c.z.gateway.BinaryProtocolSpeaker - reading Zabbix protocol header
2022-06-15 08:43:24.047 [pool-2-thread-3] DEBUG c.z.gateway.BinaryProtocolSpeaker - reading 8 bytes of data length
2022-06-15 08:43:24.048 [pool-2-thread-3] DEBUG c.z.gateway.BinaryProtocolSpeaker - reading 161 bytes of request data
2022-06-15 08:43:24.048 [pool-2-thread-3] DEBUG c.z.gateway.BinaryProtocolSpeaker - received the following data in request: {"request":"java gateway jmx","jmx_endpoint":"service:jmx:rmi:///jndi/rmi://host:9005/jmxrmi","ke
ys":["jmx["Catalina:type=Server",serverInfo]"]}
2022-06-15 08:43:24.132 [pool-2-thread-3] DEBUG com.zabbix.gateway.SocketProcessor - RMI SSL hint cache cleanup is scheduled on 1655299759942, now is: 1655275404132
2022-06-15 08:43:24.132 [pool-2-thread-3] DEBUG com.zabbix.gateway.SocketProcessor - dispatched request to class com.zabbix.gateway.JMXItemChecker
2022-06-15 08:43:24.133 [pool-2-thread-3] DEBUG c.z.g.ZabbixJMXConnectorFactory - connecting to JMX agent at 'service:jmx:rmi:///jndi/rmi://host:9005/jmxrmi'
2022-06-15 08:43:26.369 [pool-2-thread-3] DEBUG com.zabbix.gateway.JMXItemChecker - using RMI SSL for /jndi/rmi://host:9005/jmxrmi: false
2022-06-15 08:43:26.370 [pool-2-thread-3] DEBUG com.zabbix.gateway.ItemChecker - getting value for item 'jmx["Catalina:type=Server",serverInfo]'
2022-06-15 08:43:26.417 [pool-2-thread-3] DEBUG com.zabbix.gateway.ItemChecker - received value 'Apache Tomcat/7.0.108' for item 'jmx["Catalina:type=Server",serverInfo]'
2022-06-15 08:43:26.418 [pool-2-thread-3] DEBUG c.z.gateway.BinaryProtocolSpeaker - sending the following data in response: {"data":[{"value":"Apache Tomcat\/7.0.108"}],"response":"success"}
2022-06-15 08:43:26.419 [pool-2-thread-3] DEBUG com.zabbix.gateway.SocketProcessor - finished processing incoming connection[/FONT]
I've zabbix server on centos 8
Code:
rpm -qa |grep zabbix zabbix-web-6.0.5-1.el8.noarch zabbix-web-deps-6.0.5-1.el8.noarch zabbix-agent-6.0.5-1.el8.x86_64 zabbix-get-6.0.5-1.el8.x86_64 zabbix-release-6.0-1.el8.noarch zabbix-web-pgsql-6.0.5-1.el8.noarch zabbix-apache-conf-6.0.5-1.el8.noarch zabbix-sql-scripts-6.0.5-1.el8.noarch zabbix-selinux-policy-6.0.5-1.el8.x86_64 zabbix-java-gateway-6.0.5-1.el8.x86_64 zabbix-server-pgsql-6.0.5-1.el8.x86_64
Code:
grep ^JavaGateway /etc/zabbix/zabbix_server.conf JavaGateway=127.0.0.1 JavaGatewayPort=10052
Code:
grep ^[a-Z] /etc/zabbix/zabbix_java_gateway.conf LISTEN_IP="127.0.0.1" LISTEN_PORT=10052 PID_FILE="/var/run/zabbix/zabbix_java_gateway.pid" START_POLLERS=5
Do someone know where is problem?
Thnx
Comment