Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

The local agent speaks a simple text-based protocol, by default over port 9093. Suppose you want Chukwa to monitor system metrics, hadoop metrics, and hadoop logs on the localhost:

  1. Telnet to localhost 9093
  2. Wiki Markup
    Type \[without quotation marks\] "add org.apache.hadoop.chukwa.datacollection.adaptor.sigar.SystemMetrics [SystemMetrics] 60 0"

  3. Wiki Markup
    Type \[without quotation marks\] "add [SocketAdaptor] [HadoopMetrics] 9095 0"

  4. Wiki Markup
    Type \[without quotation marks\] "add [SocketAdaptor] Hadoop 9096 0"

  5. Type "list" – you should see the adaptor you just started, listed as running.
  6. Type "close" to break the connection.
  7. If you don't have telnet, you can get the same effect using the netcat (nc) command line tool.

...