zabbix/Dockerfiles/java-gateway/rhel/README.html
2026-07-11 21:25:41 +09:00

54 lines
4.9 KiB
HTML

<h2>What is Zabbix?</h2>
<p>Zabbix is an enterprise-class open source distributed monitoring solution.</p>
<p>Zabbix is software that monitors numerous parameters of a network and the health and integrity of servers. Zabbix uses a flexible notification mechanism that allows users to configure e-mail based alerts for virtually any event. This allows a fast reaction to server problems. Zabbix offers excellent reporting and data visualisation features based on the stored data. This makes Zabbix ideal for capacity planning.</p>
<p>For more information and related downloads for Zabbix components, please visit <a href="https://hub.docker.com/u/zabbix/">Docker Hub</a> and <a href="https://zabbix.com">zabbix.com</a></p>
<h2>What is Zabbix Java Gateway?</h2>
<p>Zabbix Java Gateway performs native support for monitoring JMX applications. Java gateway accepts incoming connection from Zabbix server or Zabbix proxy and can only be used as a "passive proxy".</p>
<h2>Zabbix Java Gateway images</h2>
<p>Images are updated when new releases are published.</p>
<h2>How to use this image</h2>
<h3>Start <code>zabbix-java-gateway</code></h3>
<p>Start a Zabbix Java Gateway container as follows:</p>
<pre><code>podman run \
--name some-zabbix-java-gateway \
-d registry.connect.redhat.com/zabbix/zabbix-java-gateway-74:tag
</code></pre>
<p>Where <code>some-zabbix-java-gateway</code> is the name you want to assign to your container and <code>tag</code> is the tag specifying the version you want.</p>
<h3>Linking the container to Zabbix server or Zabbix proxy</h3>
<pre><code>podman run \
--name some-zabbix-java-gateway \
--link some-zabbix-server:zabbix-server \
-d registry.connect.redhat.com/zabbix/zabbix-java-gateway-74:tag
</code></pre>
<h3>Container shell access and viewing Zabbix Java Gateway logs</h3>
<p>The <code>podman exec</code> command allows you to run commands inside a Podman container. The following command line will give you a bash shell inside your <code>zabbix-java-gateway</code> container:</p>
<pre><code>$ podman exec -ti some-zabbix-java-gateway /bin/bash
</code></pre>
<p>The Zabbix Java Gateway log is available through Podman's container log:</p>
<pre><code>$ podman logs some-zabbix-java-gateway
</code></pre>
<h3>Environment Variables</h3>
<p>When you start the <code>zabbix-java-gateway</code> image, you can adjust the configuration of the Zabbix Java Gateway by passing one or more environment variables on the <code>podman run</code> command line.</p>
<h4><code>ZBX_START_POLLERS</code></h4>
<p>This variable is specified amount of pollers. By default, value is <code>5</code>.</p>
<h4><code>ZBX_TIMEOUT</code></h4>
<p>This variable is used to specify timeout for outgoing connections. By default, value is <code>3</code>.</p>
<h4><code>ZBX_DEBUGLEVEL</code></h4>
<p>This variable is used to specify log level. By default, value is <code>info</code>. The variable allows next values: <code>trace</code>, <code>debug</code>, <code>info</code>, <code>warn</code>, <code>error</code>, <code>all</code>, <code>off</code></p>
<h4><code>ZBX_PROPERTIES_FILE</code></h4>
<p>Name of properties file. Can be used to set additional properties using a key-value format in such a way that they are not visible on a command line or to overwrite existing ones.</p>
<h4><code>ZABBIX_OPTIONS</code></h4>
<p>Additional arguments for Zabbix Java Gateway. Useful to enable additional libraries and features.</p>
<h3>Allowed volumes for the Zabbix Java Gateway container</h3>
<h4><code>/usr/sbin/zabbix_java/ext_lib</code></h4>
<p>The volume allows include additional JAR files to extend allowed protocols for Zabbix Java Gateway.</p>
<h2>User Feedback</h2>
<h3>Documentation</h3>
<p>Documentation for this image is stored in the <a href="https://github.com/zabbix/zabbix-docker/tree/7.4/Dockerfiles/java-gateway"><code>java-gateway/</code> directory</a> of the <a href="https://github.com/zabbix/zabbix-docker/"><code>zabbix/zabbix-docker</code> GitHub repo</a>. Be sure to familiarize yourself with the <a href="https://github.com/zabbix/zabbix-docker/blob/7.4/README.md">repository's <code>README.md</code> file</a> before attempting a pull request.</p>
<h3>Issues</h3>
<p>If you have any problems with or questions about this image, please contact us through a <a href="https://github.com/zabbix/zabbix-docker/issues">GitHub issue</a>.</p>
<h4>Known issues</h4>
<h3>Contributing</h3>
<p>You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.</p>
<p>Before you start to code, we recommend discussing your plans through a <a href="https://github.com/zabbix/zabbix-docker/issues">GitHub issue</a>, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.</p>