Add options to enable jmx monitoring
This commit is contained in:
parent
fea1813164
commit
44499d1ec3
2 changed files with 9 additions and 0 deletions
|
|
@ -36,3 +36,5 @@ pid_dir: ''
|
|||
log_dir: ''
|
||||
conf_dir: ''
|
||||
data_dirs: ''
|
||||
# JMX remote monitoring
|
||||
jmx_remote_monitoring_enabled: true
|
||||
|
|
|
|||
|
|
@ -106,3 +106,10 @@
|
|||
# WARNING: This option will be removed in Elasticsearch 6.0.0 and is provided
|
||||
# only for migration purposes.
|
||||
#-Delasticsearch.json.allow_unquoted_field_names=true
|
||||
{% if jmx_remote_monitoring_enabled == true %}
|
||||
#-Dcom.sun.management.jmxremote.port={{ jmx_remote_monitoring_port }}
|
||||
#-Dcom.sun.management.jmxremote.authenticate={{ jmx_remote_monitoring_auth }}
|
||||
#-Dcom.sun.management.jmxremote.ssl={{ jmx_remote_monitoring_ssl }}
|
||||
##-Djava.rmi.server.hostname="127.0.0.1"
|
||||
-Dcom.sun.management.jmxremote
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue