Skip to content

Commit

Permalink
fix: create jmx config file
Browse files Browse the repository at this point in the history
  • Loading branch information
giem-git committed Oct 14, 2024
1 parent 2c153f0 commit 1b4265f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tdp_vars_defaults/zookeeper-kafka/zookeeper-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,9 @@ zk_start_on_boot: no
zk_restart: "no"

jmx_common_opts: "-Dcom.sun.management.jmxremote=true"
zookeeper_jmx_exporter_conf_dir: /etc/zookeeper
zookeeper_jmx_exporter_conf_file: zk-kafka-jmx-exporter.yml
zookeeper_jmx_exporter_conf_file: jmx-exporter.yml
jmx_exporter_zk_port: "{{ exporter_zookeeper_kafka_server_http_port }}"
jmx_exporter_zk_opts: "{% if 'exporter_jmx' in groups and groups['exporter_jmx'] %}-javaagent:{{ jmx_exporter_install_file }}={{ jmx_exporter_zk_port }}:{{ zookeeper_jmx_exporter_conf_dir }}/{{ zookeeper_jmx_exporter_conf_file }}{% endif %}"
jmx_exporter_zk_opts: "{% if 'exporter_jmx' in groups and groups['exporter_jmx'] %}-javaagent:{{ jmx_exporter_install_file }}={{ jmx_exporter_zk_port }}:{{ zookeeper_root_conf_dir }}/{{ zookeeper_jmx_exporter_conf_file }}{% endif %}"

# jmx exporter configuration directory
jmx_exporter_conf_dir: /etc/jmx-exporter
Expand Down

0 comments on commit 1b4265f

Please sign in to comment.