FLUME-1594. Document JMX options (Ashish Paliwal via Roshan Naik)
Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/2c3ffe03 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/2c3ffe03 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/2c3ffe03 Branch: refs/heads/flume-1.6 Commit: 2c3ffe0342413e0faedc61b5f5fe17a1a9aeed1b Parents: 98d1af6 Author: Roshan Naik <[email protected]> Authored: Wed Nov 19 18:39:43 2014 -0800 Committer: Roshan Naik <[email protected]> Committed: Wed Nov 19 18:39:43 2014 -0800 ---------------------------------------------------------------------- flume-ng-doc/sphinx/FlumeUserGuide.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/2c3ffe03/flume-ng-doc/sphinx/FlumeUserGuide.rst ---------------------------------------------------------------------- diff --git a/flume-ng-doc/sphinx/FlumeUserGuide.rst b/flume-ng-doc/sphinx/FlumeUserGuide.rst index 43a4d5c..b9a8329 100644 --- a/flume-ng-doc/sphinx/FlumeUserGuide.rst +++ b/flume-ng-doc/sphinx/FlumeUserGuide.rst @@ -3303,6 +3303,16 @@ Monitoring in Flume is still a work in progress. Changes can happen very often. Several Flume components report metrics to the JMX platform MBean server. These metrics can be queried using Jconsole. +JMX Reporting +------------- + +JMX Reporting can be enabled by specifying JMX parameters in the JAVA_OPTS environment variable using +flume-env.sh, like + + export JAVA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5445 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" + +NOTE: The sample above disables the security. To enable Security, please refer http://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html + Ganglia Reporting ----------------- Flume can also report these metrics to
