This is an automated email from the ASF dual-hosted git repository.

dmagda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new b2b2373  IGNITE-13606 (#8690)
b2b2373 is described below

commit b2b237354abeea04087a0908b5f96281b517eb78
Author: Nikita Safonov <73828260+nikita-tech-wri...@users.noreply.github.com>
AuthorDate: Tue Jan 26 03:34:49 2021 +0300

    IGNITE-13606 (#8690)
    
    * IGNITE-13606 Added documentation on JMX default configuration removal
    
    * IGNITE-13606-1 Made existing note a chapter.
---
 docs/_docs/monitoring-metrics/metrics.adoc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/_docs/monitoring-metrics/metrics.adoc 
b/docs/_docs/monitoring-metrics/metrics.adoc
index ddecb56..8d47727 100644
--- a/docs/_docs/monitoring-metrics/metrics.adoc
+++ b/docs/_docs/monitoring-metrics/metrics.adoc
@@ -24,6 +24,23 @@ You can also access them programmatically.
 
 On this page, we've collected the most useful metrics and grouped them into 
various common categories based on the monitoring task.
 
+== Enabling JMX for Ignite
+
+By default, the JMX automatic configuration is disabled.
+To enable it, configure the following environment variables:
+
+* For `control.sh`, configure the `CONTROL_JVM_OPTS` variable
+* For `ignite.sh`, configure the `JVM_OPTS` variable
+
+For example:
+
+[source,shell]
+----
+JVM_OPTS="-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.port=${JMX_PORT} \
+-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false"
+----
+
+
 // link:monitoring-metrics/configuring-metrics[Configuring Metrics]
 
 == Understanding MBean's ObjectName

Reply via email to