This is a translation of the original English documentation page. Help us make it better.
Table of Contents

JMXテンプレートの操作

JMXによってメトリクスを収集するテンプレートを正しく運用するためのステップ:

  1. Zabbix Java gateway が正しくインストールされ、設定されていることを確認します。
  2. ターゲットホストにテンプレートをLinkします。
    ホストには、JMXインターフェースが設定されている必要があります。テンプレートが Zabbix のインストール先にない場合、最初に
    テンプレートの.xmlファイルをインポートする必要があります。out-of-the-box セクションを参照してください。
  3. 必要に応じて、必須マクロの値を調整します。
  4. Zabbix とのデータ共有を許可するように監視対象のインスタンスを設定します。

このページでは、テンプレートが正しく動作するために必要な最低限のマクロと設定手順のみを掲載しています。
テンプレートの詳細な説明(マクロ、item、trigger の全リストを含む)は、テンプレートの Readme.md ファイル
(テンプレート名をクリックするとアクセスできます)に記載されています。

テンプレート 必須マクロ Additional steps/comments
Apache ActiveMQ by JMX {$ACTIVEMQ.PORT} - port for JMX (default: 1099).
{$ACTIVEMQ.USERNAME}, {$ACTIVEMQ.PASSWORD} - login credentials for JMX
(default username: admin, password: activemq).
JMX access to Apache ActiveMQ should be enabled and configured per instructions in the official documentation.
Apache Cassandra by JMX {$CASSANDRA.USER}, {$CASSANDRA.PASSWORD} - Apache Cassandra login credentials
(default username: zabbix, password: zabbix)
JMX access to Apache Cassandra should be enabled and configured per instructions in the official documentation.
Apache Kafka by JMX {$KAFKA.USER}, {$KAFKA.PASSWORD} - Apache Kafka login credentials
(default username: zabbix, password: zabbix)
JMX access to Apache Kafka should be enabled and configured per instructions in the official documentation.
Apache Tomcat by JMX {$TOMCAT.USER}, {$TOMCAT.PASSWORD} - Apache Tomcat login credentials; leave blank if Tomcat installation does not require authentication
(default: not set).
JMX access to Apache Tomcat should be enabled and configured per instructions in the official documentation (choose the correct version).
GridGain by JMX {$GRIDGAIN.USER}, {$GRIDGAIN.PASSWORD} - GridGain login credentials (default username: zabbix, password: <secret>). JMX access to GridGain In-Memory Computing Platform should be enabled and configured per instructions in the documentation.
Ignite by JMX {$IGNITE.USER}, {$IGNITE.PASSWORD} - Apache Ignite login credentials (default username: zabbix, password: <secret>). Enable and configure JMX access to Apache Ignite.

JMX tree hierarchy contains ClassLoader by default. Adding the following Java Virtual Machine option -DIGNITE_MBEAN_APPEND_CLASS_LOADER_ID=false will exclude one level with ClassLoader name.

Cache and Data Region metrics can be configured as needed - see Ignite documentation for details.

See also: Monitoring and Management Using JMX Technology
WildFly Domain by JMX {$WILDFLY.JMX.PROTOCOL} - JMX scheme (default: remote+http)
{$WILDFLY.USER}, {$WILDFLY.PASSWORD} - WildFly login credentials (default username: zabbix, password: zabbix).
1. Enable and configure JMX access to WildFly according to instructions in the official documentation.

2. Copy jboss-client.jar from /(wildfly,EAP,Jboss,AS)/bin/client into directory /usr/share/zabbix-java-gateway/lib.

3. Restart Zabbix Java gateway.
WildFly Server by JMX {$WILDFLY.JMX.PROTOCOL} - JMX scheme (default: remote+http)
{$WILDFLY.USER}, {$WILDFLY.PASSWORD} - WildFly login credentials (default username: zabbix, password: zabbix).
1. Enable and configure JMX access to WildFly according to instructions in the official documentation.

2. Copy jboss-client.jar from /(wildfly,EAP,Jboss,AS)/bin/client into directory /usr/share/zabbix-java-gateway/lib.

3. Restart Zabbix Java gateway.