You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by mm...@apache.org on 2021/01/26 20:03:04 UTC

[ignite] 01/02: IGNITE-13606 (#8690)

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

mmuzaf pushed a commit to branch ignite-2.10
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit 41354b2b12ac39f95bad608032c3cdf7036c593a
Author: Nikita Safonov <73...@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