THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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:
- Telnet to localhost 9093
Wiki Markup Type \[without quotation marks\] "add org.apache.hadoop.chukwa.datacollection.adaptor.sigar.SystemMetrics [SystemMetrics] 60 0"
Wiki Markup Type \[without quotation marks\] "add [SocketAdaptor] [HadoopMetrics] 9095 0"
Wiki Markup Type \[without quotation marks\] "add [SocketAdaptor] Hadoop 9096 0"
- Type "list" – you should see the adaptor you just started, listed as running.
- Type "close" to break the connection.
- If you don't have telnet, you can get the same effect using the netcat (nc) command line tool.
...