Hello,
I am using Zabbix version 3.2.4 and JBoss 7.1.4 on Ubuntu 14 , and have some problems with the Java Gateway configuration.
I've used THIS "patchfix", compiled the gateway from source, but I still get the following warning in the java gateway log:
Can anyone help me?
Thank you,
Best Regards,
kungl
I am using Zabbix version 3.2.4 and JBoss 7.1.4 on Ubuntu 14 , and have some problems with the Java Gateway configuration.
I've used THIS "patchfix", compiled the gateway from source, but I still get the following warning in the java gateway log:
HTML Code:
2017-03-13 07:40:41.245 [pool-1-thread-2] DEBUG com.zabbix.gateway.SocketProcessor - starting to process incoming connection
2017-03-13 07:40:41.246 [pool-1-thread-2] DEBUG c.z.gateway.BinaryProtocolSpeaker - reading Zabbix protocol header
2017-03-13 07:40:41.246 [pool-1-thread-2] DEBUG c.z.gateway.BinaryProtocolSpeaker - reading 8 bytes of data length
2017-03-13 07:40:41.246 [pool-1-thread-2] DEBUG c.z.gateway.BinaryProtocolSpeaker - reading 149 bytes of request data
2017-03-13 07:40:41.246 [pool-1-thread-2] DEBUG c.z.gateway.BinaryProtocolSpeaker - received the following data in request: {"request":"java gateway jmx","conn":"172.20.4.20","port":4447,"keys":["jmx[\"java.lang:type=GarbageCollector,name=PS MarkSweep\",CollectionCount]"]}
2017-03-13 07:40:41.246 [pool-1-thread-2] DEBUG com.zabbix.gateway.SocketProcessor - dispatched request to class com.zabbix.gateway.JMXItemChecker
2017-03-13 07:40:41.246 [pool-1-thread-2] DEBUG c.z.g.ZabbixJMXConnectorFactory - connecting to JMX agent at 'service:jmx:remoting-jmx://172.20.4.20:4447'
2017-03-13 07:40:41.247 [pool-1-thread-2] WARN com.zabbix.gateway.SocketProcessor - error processing request
com.zabbix.gateway.ZabbixException: java.net.MalformedURLException: Unsupported protocol: remoting-jmx
at com.zabbix.gateway.JMXItemChecker.getValues(JMXItemChecker.java:115) ~[zabbix-java-gateway-3.2.4.jar:na]
at com.zabbix.gateway.SocketProcessor.run(SocketProcessor.java:62) ~[zabbix-java-gateway-3.2.4.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]
Caused by: java.net.MalformedURLException: Unsupported protocol: remoting-jmx
at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:357) ~[na:1.7.0_80]
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267) ~[na:1.7.0_80]
at com.zabbix.gateway.ZabbixJMXConnectorFactory$1.run(ZabbixJMXConnectorFactory.java:76) ~[zabbix-java-gateway-3.2.4.jar:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_80]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_80]
... 3 common frames omitted
2017-03-13 07:40:41.248 [pool-1-thread-2] DEBUG c.z.gateway.BinaryProtocolSpeaker - sending the following data in response: {"response":"failed","error":"java.net.MalformedURLException: Unsupported protocol: remoting-jmx"}
2017-03-13 07:40:41.248 [pool-1-thread-2] DEBUG com.zabbix.gateway.SocketProcessor - finished processing incoming connection
Thank you,
Best Regards,
kungl