When installing zabbix-java-gateway, jdk8 is used by default, and it will be automatically installed without 1.8. However, my Java applications are all based on jdk11, so when collecting data through the JavaGateway, an error will be reported: SSL peer shutdown incorrect. It is speculated that the inconsistency in the jdk version is the cause.
Ad Widget
Collapse
How to install Zabbix-java-gateway based on JDK11? |SSL peer shut down incorrectly
Collapse
X
-
Try up the jmx jboss whit the next parameters:
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=XXXX"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.rmi.port=XXXX"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.registry.ssl=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="$JAVA_OPTS -Djava.rmi.server.hostname=XXXX"
Comment