forked from idealista/prometheus_jmx_exporter_role
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.yml
51 lines (37 loc) · 1.4 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
## General
jmx_exporter_version: 0.3.1
## Service options
# Owner
jmx_exporter_user: prometheus
jmx_exporter_group: prometheus
# start on boot
jmx_exporter_service_enabled: true
# current state: started, stopped
jmx_exporter_service_state: started
# Files & Paths
jmx_exporter_root_directory: /opt/jmx_exporter
jmx_exporter_private_tmp: true
jmx_exporter_jar_path: "{{ jmx_exporter_root_directory }}/{{ jmx_exporter_jar_file }}"
jmx_exporter_conf_directory: /etc/jmx_exporter
jmx_exporter_conf_file: "jmx_config.yml"
jmx_exporter_conf_path: "{{ jmx_exporter_conf_directory }}/{{ jmx_exporter_conf_file }}"
# If you need output to a file, you can use file:{{ jmx_exporter_log_path }}/{{ jmx_exporter_log_file }}, append:..., rsyslog and other
# # options in Debian 10 (see https://www.freedesktop.org/software/systemd/man/systemd.exec.html)
# jmx_exporter_log_directory: /var/log/jmx_exporter
# jmx_exporter_log_file: "jmx_exporter.log"
# jmx_exporter_log_path: "{{ jmx_exporter_log_directory }}/{{ jmx_exporter_log_file }}"
jmx_exporter_log_output: journal
jmx_exporter_classpath_entries: []
# - jar_path_1
# - jar_path_2
# - ...
jmx_exporter_config_template_path: "templates/jmx_exporter/config/jmx_config.yml"
# Ports
jmx_exporter_port: 9110
jmx_exporter_internal_port: 5555
# JVM
jmx_exporter_xmx: 32m
jmx_exporter_xms: 32m
## This should be true if you want to debug with Vagrant and Jconsole
jmx_rmi: false