Ad Widget

Collapse

why zabbix_java is trying to connect to localhost?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • i5513
    Junior Member
    • Nov 2011
    • 12

    #1

    why zabbix_java is trying to connect to localhost?

    Hello,

    I have zabbix_java installed and running, it try to connect to localhost, but I have not any zabbix configured host with a jmx interface on localhost

    Why zabbix_java try to connect to localhost ? Developers says that it is not a bug (https://support.zabbix.com/browse/ZBX-10709)

    Code:
    2016-04-26 18:11:22.103 [main] INFO  com.zabbix.gateway.JavaGateway - Zabbix Java Gateway 2.4.6 (revision 54796) has started
    2016-04-26 18:11:22.129 [main] INFO  com.zabbix.gateway.JavaGateway - listening on 0.0.0.0/0.0.0.0:10052
    2016-04-26 18:12:12.836 [pool-1-thread-1] WARN  com.zabbix.gateway.SocketProcessor - error processing request
    com.zabbix.gateway.ZabbixException: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: 
    	java.net.ConnectException: Conexión rehusada
    	at com.zabbix.gateway.JMXItemChecker.getValues(JMXItemChecker.java:97) ~[zabbix-java-gateway-2.4.6.jar:na]
    	at com.zabbix.gateway.SocketProcessor.run(SocketProcessor.java:63) ~[zabbix-java-gateway-2.4.6.jar:na]
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_65]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_65]
    	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
    Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: 
    	java.net.ConnectException: Conexión rehusada
    Thank you !
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    A bit old thread, but perhaps https://zabbix.org/wiki/ConfigureJMX helps.
    Zabbix 3.0 Network Monitoring book

    Comment

    Working...