Hi Audrey, I am having the same issue. when I ran telnet 9.12.207.128 4444 from cmd it says "could not open connection to the host", on port:4444, connect failed
Server Agent uses simple plain-text protocol, anyone can use agent's capabilities implementing client, based on kg.apc.perfmon.client.Transport interface. If anyone's interested, start the topic on the support forums and I'll describe how to connect third-party client app to agent.
ServerAgent has simple text protocol and can work on UDP and TCP transports. Most of cases will use TCP.
To have your first talk with the agent, start it locally. Then use telnet utility to connect to it:
user@ubuntu:~$ telnet localhost 4444 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
If connection has succeeded, you should see "Accepting new TCP connection" message in ServerAgent console log. Type "test" and press Enter in telnet chat, server should answer with short "Yep":
test Yep
Type "exit":
exit Connection closed by foreign host.
Regards.
Vincent D.
Thank you for the response. Actually, after some magic restarts of JMeter and server agent the problem had gone.
Apologies for keeping silent about the issue resolving.
Kind regards,
Aliaksandr
bash-4.1$ ./startAgent.sh --udp-port 0 --tcp-port 3450INFO 14998 [kg.apc.p] (): Binding TCP to 3450INFO 14998 [kg.apc.p] (): JP@GC Agent v2.2.0 startedINFO 14998 [kg.apc.p] (): Accepting new TCP connection
INFO 14998 [kg.apc.p] (): Binding TCP to 3450INFO 14998 [kg.apc.p] (): JP@GC Agent v2.2.0 startedINFO 14998 [kg.apc.p] (): Accepting new TCP connectionINFO 14998 [kg.apc.p] (): Yep, we received the 'test' commandINFO 14998 [kg.apc.p] (): Starting measures: cpu:INFO 14998 [kg.apc.p] (): Client disconnectedINFO 14998 [kg.apc.p] (): Accepting new TCP connectionINFO 14998 [kg.apc.p] (): Yep, we received the 'test' commandINFO 14998 [kg.apc.p] (): Starting measures: cpu:systemINFO 14998 [kg.apc.p] (): Client disconnectedINFO 14998 [kg.apc.p] (): Accepting new TCP connectionINFO 14998 [kg.apc.p] (): Yep, we received the 'test' commandINFO 14998 [kg.apc.p] (): Starting measures: cpu:systemINFO 14998 [kg.apc.p] (): Client disconnected
Hi,
Does your JMeter test has any requests in it? Monitoring will
work only if your test has any duration.
--
--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.