Hi,
I'm running ServerAgent 2.2.1, and I can telnet to it and request and receive metrics. But I can't see any metrics from the JMeter 2.9 GUI.
From the ServerAgent console, I can see the client connects ok and requests the configured metrics, but then the client seems to send an "exit" request.
I'm new to JMeter - do I need a test to be running? I was hoping to just be able to receive statistics...
Thanks,
Andy
(master) $ /usr/local/ServerAgent-2.2.1 ./startAgent.sh --udp-port 0 --loglevel DEBUG
DEBUG 2013-09-17 19:21:17.769 [kg.apc.p] (): Start accepting connections
INFO 2013-09-17 19:21:17.788 [kg.apc.p] (): Binding TCP to 4444
INFO 2013-09-17 19:21:17.795 [kg.apc.p] (): JP@GC Agent v2.2.0 started
INFO 2013-09-17 19:21:26.840 [kg.apc.p] (): Accepting new TCP connection
DEBUG 2013-09-17 19:21:26.842 [kg.apc.p] (): Creating new metric getter
DEBUG 2013-09-17 19:21:26.847 [kg.apc.p] (): Read: java.nio.DirectByteBuffer[pos=0 lim=5 cap=1024]
DEBUG 2013-09-17 19:21:26.847 [kg.apc.p] (): Command line is: test
DEBUG 2013-09-17 19:21:26.848 [kg.apc.p] (): Got command line: test
INFO 2013-09-17 19:21:26.848 [kg.apc.p] (): Yep, we received the 'test' command
DEBUG 2013-09-17 19:21:26.849 [kg.apc.p] (): Done executing command
DEBUG 2013-09-17 19:21:26.849 [kg.apc.p] (): Command line is:
DEBUG 2013-09-17 19:21:26.851 [kg.apc.p] (): Read: java.nio.DirectByteBuffer[pos=0 lim=14 cap=1024]
DEBUG 2013-09-17 19:21:26.851 [kg.apc.p] (): Command line is: metrics:cpu:
DEBUG 2013-09-17 19:21:26.852 [kg.apc.p] (): Got command line: metrics:cpu:
INFO 2013-09-17 19:21:26.852 [kg.apc.p] (): Starting measures: cpu:
DEBUG 2013-09-17 19:21:26.870 [kg.apc.p] (): Creating metric: cpu with params:
DEBUG 2013-09-17 19:21:26.877 [kg.apc.p] (): Have metric object: kg.apc.perfmon.metrics.CPUTotalMetric@cabe02e
DEBUG 2013-09-17 19:21:26.877 [kg.apc.p] (): Done executing command
DEBUG 2013-09-17 19:21:26.883 [kg.apc.p] (): Command line is:
DEBUG 2013-09-17 19:21:27.106 [kg.apc.p] (): Read: java.nio.DirectByteBuffer[pos=0 lim=5 cap=1024]
DEBUG 2013-09-17 19:21:27.106 [kg.apc.p] (): Command line is: exit
DEBUG 2013-09-17 19:21:27.106 [kg.apc.p] (): Got command line: exit
INFO 2013-09-17 19:21:27.106 [kg.apc.p] (): Client disconnected
DEBUG 2013-09-17 19:21:27.134 [kg.apc.p] (): Done executing command
DEBUG 2013-09-17 19:21:27.134 [kg.apc.p] (): Command line is:
In the JMeter GUI log window, with debug enabled:
2013/09/17 19:21:26 INFO - jmeter.engine.StandardJMeterEngine: Listeners will be started after enabling running version
2013/09/17 19:21:26 INFO - jmeter.engine.StandardJMeterEngine: To revert to the earlier behaviour, define jmeterengine.startlistenerslater=false
2013/09/17 19:21:26 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2013/09/17 19:21:26 INFO - kg.apc.jmeter.perfmon.PerfMonCollector: PerfMon metrics will be stored in /var/folders/ky/s29r9121441cvv5ss5qlbgmh0000gp/T/perfmon_9024734366833131421.jtl
2013/09/17 19:21:26 DEBUG - kg.apc.jmeter.perfmon.PerfMonCollector: PerfMon metrics will be stored in /var/folders/ky/s29r9121441cvv5ss5qlbgmh0000gp/T/perfmon_9024734366833131421.jtl
2013/09/17 19:21:26 DEBUG - kg.apc.jmeter.perfmon.PerfMonCollector: Trying new connector
2013/09/17 19:21:26 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2013/09/17 19:21:27 INFO - jmeter.engine.StandardJMeterEngine: No enabled thread groups found
2013/09/17 19:21:27 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2013/09/17 19:21:27 DEBUG - kg.apc.jmeter.perfmon.PerfMonCollector: Shutting down connectors
2013/09/17 19:21:27 DEBUG - kg.apc.jmeter.perfmon.PerfMonCollector: Shutting down kg.apc.jmeter.perfmon.NewAgentConnector@757e2379
2013/09/17 19:21:27 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
2013/09/17 19:21:27 DEBUG - kg.apc.jmeter.perfmon.PerfMonCollector: Monitoring thread was interrupted java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at kg.apc.jmeter.perfmon.PerfMonCollector.run(PerfMonCollector.java:90)
at java.lang.Thread.run(Thread.java:724)