THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Table of Contents |
---|
...
Basic Information
Type | HADOOP_JMX_METRIC_MONITOR |
---|---|
Version | 0.5.0-version |
Description | Collect JMX Metric and monitor in real-time |
Streams | HADOOP_JMX_METRIC_STREAM |
Configuration |
|
Setup & Installation
- Make sure already setup a site (here use a demo site named "sandbox")
- Install "Hadoop JMX Monitor" app in eagle server
- Configure Application settings
- Ensure a kafka topic named
hadoop_jmx_metric_{SITE_ID} (In current guide, it should be hadoop_jmx_metric_sandbox)
- Setup metric collector for monitored Hadoop/HBase using hadoop_jmx_collector and modify the configuration
- Collector scripts: https://github.com/apache/incubator-eagle/tree/master/eagle-external/hadoop_jmx_collector
Rename config-sample.json to config.json: https://github.com/apache/incubator-eagle/blob/master/eagle-external/hadoop_jmx_collector/config-sample.json
Code Block language js title config.json { env: { site: "sandbox", name_node: { hosts: [ "sandbox.hortonworks.com" ], port: 50070, https: false }, resource_manager: { hosts: [ "sandbox.hortonworks.com" ], port: 50030, https: false } }, inputs: [{ component: "namenode", host: "server.eagle.apache.org", port: "50070", https: false, kafka_topic: "nn_jmx_metric_sandbox" }, { component: "resourcemanager", host: "server.eagle.apache.org", port: "8088", https: false, kafka_topic: "rm_jmx_metric_sandbox" }, { component: "datanode", host: "server.eagle.apache.org", port: "50075", https: false, kafka_topic: "dn_jmx_metric_sandbox" }], filter: { monitoring.group.selected: [ "hadoop", "java.lang" ] }, output: { kafka: { brokerList: [ "localhost:9092" ] } } }
- Click "Install" button then you will see the
HADOOP_JMX_METRIC_STREAM_{SITE_ID}
in Streams
...