Hello Guys, I have the following problem:
I have a JXM agent without connection. Here you have the environment:
************************************
1) Zabbix Server ------- Zabbix Proxy/ Zabbix-JAVA-Gateway ---- Zabbix Agent
************************************
2) I checked on the Zabbix info the correct procedure to start a trace debug on the Java Gateway:
.
************************************
Debugging Java gateway
Zabbix Java gateway log file is:
/var/log/zabbix/zabbix_java_gateway.log
If you like to increase the logging, edit the file:
/etc/zabbix/zabbix_java_gateway_logback.xml
and change level="info" to "debug" or even "trace" (for deep troubleshooting):
<configuration scan="true" scanPeriod="15 seconds"> [...] <root level="info"> <appender-ref ref="FILE" /> </root> </configuration>
*************************************
.
3) I added the following lines on the my xml file:
.
*********************
<root level="TRACE">
<appender-ref ref="FILE" />
</root>
*********************
.
4) After that I restarted the Java-gateway and never received any info from the zabbix agent without any error:
.
************************
2020-08-14 09:55:18.659 [Thread-0] INFO com.zabbix.gateway.JavaGateway - Zabbix Java Gateway 4.4.10 (revision 4db30afc70) has stopped
2020-08-14 10:10:23.456 [main] INFO com.zabbix.gateway.JavaGateway - Zabbix Java Gateway 4.4.10 (revision 4db30afc70) has started
2020-08-14 10:10:23.460 [main] DEBUG c.z.gateway.ConfigurationManager - starting to parse configuration parameters
2020-08-14 10:10:23.461 [main] DEBUG c.z.gateway.ConfigurationManager - found pidFile configuration parameter with value'/var/run/zabbix/zabbix_java.pid'
2020-08-14 10:10:23.461 [main] DEBUG c.z.gateway.ConfigurationManager - received pidFile configuration parameter, daemonizing
2020-08-14 10:10:23.461 [main] DEBUG c.z.gateway.ConfigurationManager - found listenPort configuration parameter with value '10052'
2020-08-14 10:10:23.461 [main] DEBUG c.z.gateway.ConfigurationManager - found startPollers configuration parameter withvalue '5'
2020-08-14 10:10:23.461 [main] DEBUG c.z.gateway.ConfigurationManager - finished parsing configuration parameters
2020-08-14 10:10:23.463 [main] INFO com.zabbix.gateway.JavaGateway - listening on 0.0.0.0/0.0.0.0:10052
2020-08-14 10:10:23.465 [main] DEBUG com.zabbix.gateway.JavaGateway - created a thread pool of 5 pollers
************************
.
Can you help me with this issue?
Thanks in advance.
Regards.
I have a JXM agent without connection. Here you have the environment:
************************************
1) Zabbix Server ------- Zabbix Proxy/ Zabbix-JAVA-Gateway ---- Zabbix Agent
************************************
2) I checked on the Zabbix info the correct procedure to start a trace debug on the Java Gateway:
.
************************************
Debugging Java gateway
Zabbix Java gateway log file is:
/var/log/zabbix/zabbix_java_gateway.log
If you like to increase the logging, edit the file:
/etc/zabbix/zabbix_java_gateway_logback.xml
and change level="info" to "debug" or even "trace" (for deep troubleshooting):
<configuration scan="true" scanPeriod="15 seconds"> [...] <root level="info"> <appender-ref ref="FILE" /> </root> </configuration>
*************************************
.
3) I added the following lines on the my xml file:
.
*********************
<root level="TRACE">
<appender-ref ref="FILE" />
</root>
*********************
.
4) After that I restarted the Java-gateway and never received any info from the zabbix agent without any error:
.
************************
2020-08-14 09:55:18.659 [Thread-0] INFO com.zabbix.gateway.JavaGateway - Zabbix Java Gateway 4.4.10 (revision 4db30afc70) has stopped
2020-08-14 10:10:23.456 [main] INFO com.zabbix.gateway.JavaGateway - Zabbix Java Gateway 4.4.10 (revision 4db30afc70) has started
2020-08-14 10:10:23.460 [main] DEBUG c.z.gateway.ConfigurationManager - starting to parse configuration parameters
2020-08-14 10:10:23.461 [main] DEBUG c.z.gateway.ConfigurationManager - found pidFile configuration parameter with value'/var/run/zabbix/zabbix_java.pid'
2020-08-14 10:10:23.461 [main] DEBUG c.z.gateway.ConfigurationManager - received pidFile configuration parameter, daemonizing
2020-08-14 10:10:23.461 [main] DEBUG c.z.gateway.ConfigurationManager - found listenPort configuration parameter with value '10052'
2020-08-14 10:10:23.461 [main] DEBUG c.z.gateway.ConfigurationManager - found startPollers configuration parameter withvalue '5'
2020-08-14 10:10:23.461 [main] DEBUG c.z.gateway.ConfigurationManager - finished parsing configuration parameters
2020-08-14 10:10:23.463 [main] INFO com.zabbix.gateway.JavaGateway - listening on 0.0.0.0/0.0.0.0:10052
2020-08-14 10:10:23.465 [main] DEBUG com.zabbix.gateway.JavaGateway - created a thread pool of 5 pollers
************************
.
Can you help me with this issue?
Thanks in advance.
Regards.
Comment