title: Flume Metrics through REST API
body: <p>I'm running hortonworks 2.3 and currently hooking into the REST API through ambari to start/stop the flume service and also submit configurations.
  This is all working fine, My issue is how do I get the metrics?
  Previously I used to run an agent with the parameters to produce the metrics to a http port and then read them in from there using this:</p>
  
  <pre><code>-Dflume.root.logger=INFO,console
  -Dflume.monitoring.type=http
  -Dflume.monitoring.port=XXXXX
  </code></pre>
  
  <p>However now that Ambari kicks off the agent I no longer have control over this.
  Any assistance appreciated :-)</p>