mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-01 20:23:07 +01:00
Added possibility to include additional JAR files for Zabbix Java Gateway
This commit is contained in:
parent
806b973c60
commit
643e9226e4
@ -82,6 +82,8 @@ EXPOSE 10052/TCP
|
|||||||
|
|
||||||
WORKDIR /var/lib/zabbix
|
WORKDIR /var/lib/zabbix
|
||||||
|
|
||||||
|
VOLUME ["/usr/sbin/zabbix_java/ext_lib"]
|
||||||
|
|
||||||
COPY ["conf/etc/zabbix/zabbix_java_gateway_logback.xml", "/etc/zabbix/"]
|
COPY ["conf/etc/zabbix/zabbix_java_gateway_logback.xml", "/etc/zabbix/"]
|
||||||
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
||||||
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
||||||
|
@ -72,6 +72,12 @@ This variable is used to specify timeout for outgoing connections. By default, v
|
|||||||
|
|
||||||
This variable is used to specify log level. By default, value is `info`. The variable allows next values: ``trace``, ``debug``, ``info``, ``want``, ``error``, ``all``, ``off``
|
This variable is used to specify log level. By default, value is `info`. The variable allows next values: ``trace``, ``debug``, ``info``, ``want``, ``error``, ``all``, ``off``
|
||||||
|
|
||||||
|
## Allowed volumes for the Zabbix Java Gateway container
|
||||||
|
|
||||||
|
### ``/usr/sbin/zabbix_java/ext_lib``
|
||||||
|
|
||||||
|
The volume allows include additional JAR files to extend allowed protocols for Zabbix Java Gateway.
|
||||||
|
|
||||||
# The image variants
|
# The image variants
|
||||||
|
|
||||||
The `zabbix-java-gateway` images come in many flavors, each designed for a specific use case.
|
The `zabbix-java-gateway` images come in many flavors, each designed for a specific use case.
|
||||||
|
@ -7,7 +7,7 @@ JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=/etc/zabbix/zabbix_java_
|
|||||||
cd $DAEMON
|
cd $DAEMON
|
||||||
|
|
||||||
CLASSPATH="$DAEMON/lib"
|
CLASSPATH="$DAEMON/lib"
|
||||||
for jar in `find lib bin -name "*.jar"`; do
|
for jar in `find lib bin ext_lib -name "*.jar"`; do
|
||||||
if [ $jar != *junit* ]; then
|
if [ $jar != *junit* ]; then
|
||||||
CLASSPATH="$CLASSPATH:$DAEMON/$jar"
|
CLASSPATH="$CLASSPATH:$DAEMON/$jar"
|
||||||
fi
|
fi
|
||||||
|
@ -85,6 +85,8 @@ EXPOSE 10052/TCP
|
|||||||
|
|
||||||
WORKDIR /var/lib/zabbix
|
WORKDIR /var/lib/zabbix
|
||||||
|
|
||||||
|
VOLUME ["/usr/sbin/zabbix_java/ext_lib"]
|
||||||
|
|
||||||
COPY ["conf/etc/zabbix/zabbix_java_gateway_logback.xml", "/etc/zabbix/"]
|
COPY ["conf/etc/zabbix/zabbix_java_gateway_logback.xml", "/etc/zabbix/"]
|
||||||
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
||||||
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
||||||
|
@ -72,6 +72,12 @@ This variable is used to specify timeout for outgoing connections. By default, v
|
|||||||
|
|
||||||
This variable is used to specify log level. By default, value is `info`. The variable allows next values: ``trace``, ``debug``, ``info``, ``want``, ``error``, ``all``, ``off``
|
This variable is used to specify log level. By default, value is `info`. The variable allows next values: ``trace``, ``debug``, ``info``, ``want``, ``error``, ``all``, ``off``
|
||||||
|
|
||||||
|
## Allowed volumes for the Zabbix Java Gateway container
|
||||||
|
|
||||||
|
### ``/usr/sbin/zabbix_java/ext_lib``
|
||||||
|
|
||||||
|
The volume allows include additional JAR files to extend allowed protocols for Zabbix Java Gateway.
|
||||||
|
|
||||||
# The image variants
|
# The image variants
|
||||||
|
|
||||||
The `zabbix-java-gateway` images come in many flavors, each designed for a specific use case.
|
The `zabbix-java-gateway` images come in many flavors, each designed for a specific use case.
|
||||||
|
@ -7,7 +7,7 @@ JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=/etc/zabbix/zabbix_java_
|
|||||||
cd $DAEMON
|
cd $DAEMON
|
||||||
|
|
||||||
CLASSPATH="$DAEMON/lib"
|
CLASSPATH="$DAEMON/lib"
|
||||||
for jar in `find lib bin -name "*.jar"`; do
|
for jar in `find lib bin ext_lib -name "*.jar"`; do
|
||||||
if [ $jar != *junit* ]; then
|
if [ $jar != *junit* ]; then
|
||||||
CLASSPATH="$CLASSPATH:$DAEMON/$jar"
|
CLASSPATH="$CLASSPATH:$DAEMON/$jar"
|
||||||
fi
|
fi
|
||||||
|
@ -100,6 +100,8 @@ EXPOSE 10052/TCP
|
|||||||
|
|
||||||
WORKDIR /var/lib/zabbix
|
WORKDIR /var/lib/zabbix
|
||||||
|
|
||||||
|
VOLUME ["/usr/sbin/zabbix_java/ext_lib"]
|
||||||
|
|
||||||
COPY ["conf/etc/zabbix/zabbix_java_gateway_logback.xml", "/etc/zabbix/"]
|
COPY ["conf/etc/zabbix/zabbix_java_gateway_logback.xml", "/etc/zabbix/"]
|
||||||
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
||||||
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
||||||
|
@ -72,6 +72,12 @@ This variable is used to specify timeout for outgoing connections. By default, v
|
|||||||
|
|
||||||
This variable is used to specify log level. By default, value is `info`. The variable allows next values: ``trace``, ``debug``, ``info``, ``want``, ``error``, ``all``, ``off``
|
This variable is used to specify log level. By default, value is `info`. The variable allows next values: ``trace``, ``debug``, ``info``, ``want``, ``error``, ``all``, ``off``
|
||||||
|
|
||||||
|
## Allowed volumes for the Zabbix Java Gateway container
|
||||||
|
|
||||||
|
### ``/usr/sbin/zabbix_java/ext_lib``
|
||||||
|
|
||||||
|
The volume allows include additional JAR files to extend allowed protocols for Zabbix Java Gateway.
|
||||||
|
|
||||||
# The image variants
|
# The image variants
|
||||||
|
|
||||||
The `zabbix-java-gateway` images come in many flavors, each designed for a specific use case.
|
The `zabbix-java-gateway` images come in many flavors, each designed for a specific use case.
|
||||||
|
@ -7,7 +7,7 @@ JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=/etc/zabbix/zabbix_java_
|
|||||||
cd $DAEMON
|
cd $DAEMON
|
||||||
|
|
||||||
CLASSPATH="$DAEMON/lib"
|
CLASSPATH="$DAEMON/lib"
|
||||||
for jar in `find lib bin -name "*.jar"`; do
|
for jar in `find lib bin ext_lib -name "*.jar"`; do
|
||||||
if [ $jar != *junit* ]; then
|
if [ $jar != *junit* ]; then
|
||||||
CLASSPATH="$CLASSPATH:$DAEMON/$jar"
|
CLASSPATH="$CLASSPATH:$DAEMON/$jar"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user