Hi,
I have the zabbix java gateway running alongside a brand new zabbix server 2.2.3rc2 installation. The gateway is working and is able to connect to remote JMX interfaces. However, much of the time it throws exceptions due to authentication failure. See this log output:
I'm seeing that for a large portion of the time the gateway fails to authentication with the remote servers but yet I have visualvm running and connecting to the same instances with the same credentials.
Can someone help me to understand and fix this problem as it's making collection of jmx metrics untenable atm.
Note: As this is a virgin deployment being used for testing no optimization has been done yet. However, load is very light - only 3 hosts configured...
Regards,
David
I have the zabbix java gateway running alongside a brand new zabbix server 2.2.3rc2 installation. The gateway is working and is able to connect to remote JMX interfaces. However, much of the time it throws exceptions due to authentication failure. See this log output:
Code:
2014-05-14 10:26:21.005 [pool-1-thread-5] WARN com.zabbix.gateway.SocketProcessor - error processing request
com.zabbix.gateway.ZabbixException: java.lang.SecurityException: Authentication failed! Credentials required
at com.zabbix.gateway.JMXItemChecker.getValues(JMXItemChecker.java:100) ~[zabbix-java-gateway-2.2.3rc2.jar:na]
at com.zabbix.gateway.SocketProcessor.run(SocketProcessor.java:63) ~[zabbix-java-gateway-2.2.3rc2.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_09]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.7.0_09]
at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09]
Caused by: java.lang.SecurityException: Authentication failed! Credentials required
at com.sun.jmx.remote.security.JMXPluggableAuthenticator.authenticationFailure(JMXPluggableAuthenticator.java:211) ~[na:1.7.0_09]
at com.sun.jmx.remote.security.JMXPluggableAuthenticator.authenticate(JMXPluggableAuthenticator.java:163) ~[na:1.7.0_09]
at sun.management.jmxremote.ConnectorBootstrap$AccessFileCheckerAuthenticator.authenticate(ConnectorBootstrap.java:202) ~[na:1.7.0_09]
Can someone help me to understand and fix this problem as it's making collection of jmx metrics untenable atm.
Note: As this is a virgin deployment being used for testing no optimization has been done yet. However, load is very light - only 3 hosts configured...
Regards,
David