Problem with using Server Perf Monitor plugin

708 views
Skip to first unread message

sathishkumar

unread,
Mar 22, 2012, 3:40:32 AM3/22/12
to jmeter-...@googlegroups.com
Hi,

when I tried to analyses the performance of a server.

Step 1: I run the server agent in Server.
Step 2: I added the server IP and port in another machine and tried to
monitor

but in the server agent command popup I get this strange error

INFO    2012-03-22 12:53:29.403 [kg.apc.p] (): Binding UDP to 4444
INFO    2012-03-22 12:53:30.417 [kg.apc.p] (): Binding TCP to 4444
INFO    2012-03-22 12:53:45.193 [kg.apc.p] (): Accepting new TCP connection

ERROR   2012-03-22 12:53:45.193 [kg.apc.p] (): Error executing command java.lang.
UnsupportedOperationException: Unknown command [4]: 'name'

        at kg.apc.perfmon.
PerfMonMetricGetter.processCommand(PerfMonMetricGetter.java: 87)
        at kg.apc.perfmon.PerfMonMetricGetter.processNextCommand(PerfMonMetricGe tter.java:101)
        at kg.apc.perfmon.PerfMonWorker.
read(PerfMonWorker.java:203)
        at kg.apc.perfmon.PerfMonWorker.
processCommands(PerfMonWorker.java:97)
        at kg.apc.perfmon.AgentTool.
processParams(AgentTool.java:72)
        at kg.apc.cmdtools.PluginsCMD.
processParams(PluginsCMD.java: 63)
        at kg.apc.cmdtools.PluginsCMD.
processParams(PluginsCMD.java: 23)
        at sun.reflect.
NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.
NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.
DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.
invoke(Unknown Source)
        at kg.apc.cmd.UniversalRunner.
main(UniversalRunner.java:149)


Could some please help me to analyze the problem. In the listening machine "Waiting for samples" is the only message I get.
Perf Monitor.png

Andrey Pohilko

unread,
Mar 22, 2012, 4:10:17 AM3/22/12
to jmeter-...@googlegroups.com
That's frequent user error. You're trying to connect to new perfmon 5.1 with old JMeter Plugin version. Upgrade your JMeter Plugins installations.

четверг, 22 марта 2012 г. 11:40:32 UTC+4 пользователь sathishkumar написал:

sathishkumar

unread,
Mar 22, 2012, 4:59:33 AM3/22/12
to jmeter-...@googlegroups.com
Hi Andrey,

Thanks alot but still I face the issue with the plugin

I installed latest Jmeter (version 2.6) and Jmeter Plugin version (JMeterPlugins-0.5.1).

Tried the same scenario but still I face the problem. The server agent popup showed the below message.

INFO    2012-03-22 14:10:39.368 [kg.apc.p] (): Binding UDP to 4444
INFO    2012-03-22 14:10:40.382 [kg.apc.p] (): Binding TCP to 4444
INFO    2012-03-22 14:12:25.871 [kg.apc.p] (): Connecting new UDP client
INFO    2012-03-22 14:12:25.886 [kg.apc.p] (): Yep, we received the 'test' command

INFO    2012-03-22 14:12:25.995 [kg.apc.p] (): Client disconnected



The JMeter still shows "Waiting for samples" message.


Andrey Pohilko

unread,
Mar 22, 2012, 5:31:39 AM3/22/12
to jmeter-...@googlegroups.com
Try starting the agent with --udp-port=0 switch, this will make it using TCP only


четверг, 22 марта 2012 г. 12:59:33 UTC+4 пользователь sathishkumar написал:

sathishkumar

unread,
Mar 22, 2012, 5:40:22 AM3/22/12
to jmeter-...@googlegroups.com
Can you please tell me how can I do it??

i.e, how can i switch the "udp-port=0"

Andrey Pohilko

unread,
Mar 22, 2012, 6:10:56 AM3/22/12
to jmeter-...@googlegroups.com
:) OMG, command-line switch, dude! http://en.wikipedia.org/wiki/Command-line_interface#Arguments
RTFM please: http://code.google.com/p/jmeter-plugins/wiki/PerfMonAgent

четверг, 22 марта 2012 г. 13:40:22 UTC+4 пользователь sathishkumar написал:
Reply all
Reply to author
Forward
0 new messages