-
Problem report
-
Resolution: Duplicate
-
Major
-
None
-
4.0.0alpha5
-
Sprint 31, Sprint 32
-
0
Zabbix Java Gateway comes without suitable information which makes it hard to troubleshoot the problem.
It would be relevant to log the hostname, item or other useful information in order to fix misconfiguration as soon as possible.
Example of debug message:
2018-03-29 05:42:46.551 [pool-1-thread-3] WARN com.zabbix.gateway.SocketProcessor - error processing request com.zabbix.gateway.ZabbixException: java.lang.IllegalArgumentException: invalid username and password nullness combination at com.zabbix.gateway.JMXItemChecker.<init>(JMXItemChecker.java:71) ~[zabbix-java-gateway-4.0.0alpha3.jar:na] at com.zabbix.gateway.SocketProcessor.run(SocketProcessor.java:58) ~[zabbix-java-gateway-4.0.0alpha3.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_161] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_161] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_161] Caused by: java.lang.IllegalArgumentException: invalid username and password nullness combination at com.zabbix.gateway.JMXItemChecker.<init>(JMXItemChecker.java:67) ~[zabbix-java-gateway-4.0.0alpha3.jar:na] ... 4 common frames omitted
- duplicates
-
ZBXNEXT-4458 Make Zabbix Java Gateway logs more human-friendly
- Closed