2013-06-26

PerfMon-JMeter Server Monitoring PlugIn

In this article we are going to see what are additional features/items added after installing jmeter plugin (Google Plugin) and what we can do with it. I will discuses about Listeners only. To know about basic of jmeter see my this page. And, the process to install plug in , see this post.

What is PerfMon plugins? It is a server monitor plugin , where we can check the health of the server from jmeter while running. The supported list is here. And we can test on web server that we are generating load on as well as remote servers where our remote agents are running.
So, by the objective of the plug in, we clearly understand there will be two component. One is, jmeter listener which will be running with jmeter. And another one will be on the server, which will send info to jmeter listener about the server.
From this download link, download server plugins(currently version 2.2.1), and install plugins to jemter.

-After download the server agent on server, and run startAgent.bat in windows or startAgent.sh in Linux server. It will open UDP/TCP server ports where jmeter will communicate.

-Now, we have to add jp@gc - PerfMon Metrics Collector  this listener in our jmeter test plan. (controller PC, where we are running jmeter)

-Select jp@gc - PerfMon Metrics Collector and click add a row
-In a row, we have to add server IP/address( where the server agent is present),Port number, the information that we want (CPU/memory) from a selectable comb and a metric parameter. So, here is a generic screenshot.

So, now we can run, our test and see the log file. I have used a sample dummy sampler(not real test) to get some viewable report.
Running screen shot1
Running screen shot2


Metric parameter:
Metric parameter are sub type or options under main metric controller. It is basically a string constructor that goes as parameter. It helps for making understandable metrics as well as helps to get specific info that we need. So, for Nine type of metric controllers we have nine metric parameters. Screenshots are here.
1. Metric parameter-CPU
2. Metric parameter-Memory
3. Metric parameter-Disk IO 
4. Metric parameter-Network IO
5. Metric parameter-Swap 
6. Metric parameter-TCP
7. Metric parameter-JMX 
8. Metric parameter-EXEC
9. Metric parameter-TAIL

Agent Tweaking :
1. We can enable or disable any port by shell command. Port 0 for disabled. We have to run our startAgent.sh/bat in following manner 
Syntax : $ ./startAgent.sh --<ProtocallPort> <port number>
Ex : To enable UDP at port 5000 : we need to run this in command prompt.
$ ./startAgent.sh --udp-port 5000
Or, to disable TCP port
$ ./startAgent.sh --tco-port 0

2. We can Auto Shutdown agent after test completion
Syntax : $ ./startAgent.sh --<ProtocallPort> <port number> --auto-shoutdown
 EX- $ ./startAgent.sh --udp-port 5000 --auto-shutdown

3. We can use system Info showing for system object while running, 
$ ./startAgent.sh --sysinfo

Notes : 
-No Need Admin privilege in the server
-Server agent needs JRE 1.4+ version. So, you need that installed in server.(or you can add jre package inside the folder. In that case, you have to edit bat file)
-We can use multiple servers. To do that , multiple server should have the agent.

Agent Extension : Following this interface kg.apc.perfmon.client.Transport , we can use this plug in for other software using, like custom performance monitor. I will make a separate post on how can we make a class on JAVA to use this plugin for getting information.

Thanks...:)...

38 comments:

  1. I followed the same steps and I need to be on VPN to connect to the server so when i connect and run the server agent on the server and then run my jmeter from my machine i get error as below:

    ERROR: java.net.ConnectException: Connection timed out: connect

    Do you why this is happening?Do i need to change any property file or any other config file?

    ReplyDelete
    Replies
    1. have you properly set up RMI registry? The exception shows connection problem because of timeout. I think , because of VPN, you cant access PC via jmeter default configuration. Send me detail exception and steps, i might can help to configure your jmeter to support properly.

      Delete
    2. Hello, you managed to solve the problem? If so can you provide the solution please? I have the same problem. I succeed to doing telnet on the server (RedHat), I succeed doing the test with JMeter with the agent in my local machine. But I am getting "ERROR: java.io.IOException: Agent is unreachable via TCP" doing the test with JMeter in my local machine and the agent on the server (RedHat). I think is it because of VPN

      Delete
    3. Hello, Normally you get the error "ERROR: java.io.IOException:" when there is no JRE in the server...Please make sure you have java runtime environment in the server machine as well...then you won't get there errors.!!

      Delete
    4. Hi Anthony, thank you for your answer. Unfortunately didn't work. As I said before I'm able to telnet from my machine to the server. But when I try do it with Jmeter I'm getting this error: "ERROR: java.io.IOException: Agent is unreachable via TCP". In serverAgent on the server I'm getting :
      INFO 2014-06-25 23:41:53.156 [kg.apc.p] (): Yep, we received the 'test' command
      INFO 2014-06-25 23:41:53.586 [kg.apc.p] (): Closing TCP connection
      This is strange because the connection is establish but soon after it is closed.
      My guess is it because VPN. I think is needed change some jmeter properties in jmeter.properties file to work with VPN but I don't know what to change. Can you help me?

      Delete
  2. I'm using distributed testing meachanism using Jmeter. I'm running scripts on server, but script execution is taking place from local computer[using Remote Server option].

    Test Environment will like this,

    Scripts Triggering machine, from which script will be executed
    Load Balancer Node - Distribute the load on all the 5 servers.
    Server1
    Server2
    Server3
    Server4
    Server5

    Where should I run the server agent on the above setup? Is it on all the server nodes 1-5?


    ReplyDelete
    Replies
    1. you need to run on the servers that you want to monitor.
      That means, if you are application server , run agent in application server.
      if you monitor jmeter slave servers, run agent in that server.

      Delete
  3. We are using distributed mechanism for the performance tests using JMeter. We have plenty of automated scripts created to verify the performance of the application.

    Test Environment is configured like below,

    Scripts triggering Machine - used to run the scripts on the remote servers mentioned below.
    Load Balancer Server
    Server1
    Server2
    Server3
    Server4

    Where should i install server agent to monitor the performance of the servers[1-4]?

    ReplyDelete
  4. Thanks. Should I need to run the server agent on Server1, Server2, Server3, Server4 to get the performance metrics?

    ReplyDelete
  5. What setting do i need to change in jmeter.property ?

    I am getting Error :
    2016/04/28 12:38:30 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
    2016/04/28 12:38:30 INFO - kg.apc.jmeter.perfmon.PerfMonCollector: PerfMon metrics will be stored in C:\Users\snarayan\AppData\Local\Temp\perfmon_8231788921020883151.jtl
    2016/04/28 12:38:30 INFO - kg.apc.jmeter.perfmon.PerfMonCollector: Can't connect TCP transport for host: /10.152.172.176:4449 java.io.IOException: Agent is unreachable via TCP
    at kg.apc.jmeter.perfmon.PerfMonCollector.getConnector(PerfMonCollector.java:245)
    at kg.apc.jmeter.perfmon.PerfMonCollector.initiateConnector(PerfMonCollector.java:228)
    at kg.apc.jmeter.perfmon.PerfMonCollector.initiateConnectors(PerfMonCollector.java:180)
    at kg.apc.jmeter.perfmon.PerfMonCollector.testStarted(PerfMonCollector.java:133)
    at org.apache.jmeter.reporters.ResultCollector.testStarted(ResultCollector.java:283)
    at kg.apc.jmeter.vizualizers.CorrectedResultCollector.testStarted(CorrectedResultCollector.java:28)
    at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:209)
    at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:325)
    at java.lang.Thread.run(Unknown Source)

    4449 port is open and i can connect it using telnet.
    not sure what the problem is .. can u help

    ReplyDelete
    Replies
    1. Problem is -> Agent is unreachable via TCP to 10.152.172.176:4449

      Your setup was wrong for RMI. Setup RMI properly. your Jmeter cant connect perfmon agent.

      Delete
  6. Hi,
    I am new to the Jmeter. Same problem here as well. I am able to connect to the server via telnet. but when running the Jmeter script, it says Connection to host lost and ERROR k.a.p.c.AbstractTransport: Error during exit
    java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110) ~[?:?]
    at java.net.SocketOutputStream.write(SocketOutputStream.java:138) ~[?:?]
    at kg.apc.perfmon.client.StreamTransport.writeln(StreamTransport.java:50) ~[perfmon-2.2.2.jar:?]
    at kg.apc.perfmon.client.AbstractTransport.disconnect(AbstractTransport.java:63) [perfmon-2.2.2.jar:?]
    at kg.apc.jmeter.perfmon.NewAgentConnector.disconnect(NewAgentConnector.java:36) [jmeter-plugins-perfmon-2.1.jar:?]
    at kg.apc.jmeter.perfmon.PerfMonCollector.shutdownConnectors(PerfMonCollector.java:281) [jmeter-plugins-perfmon-2.1.jar:?]
    at kg.apc.jmeter.perfmon.PerfMonCollector.testEnded(PerfMonCollector.java:149) [jmeter-plugins-perfmon-2.1.jar:?]
    at org.apache.jmeter.reporters.ResultCollector.testEnded(ResultCollector.java:346) [ApacheJMeter_core.jar:5.1 r1853635]
    at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:218) [ApacheJMeter_core.jar:5.1 r1853635]
    at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:492) [ApacheJMeter_core.jar:5.1 r1853635]
    at java.lang.Thread.run(Thread.java:835) [?:?]
    2019-05-03 17:29:54,793 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)

    Appreciate if you can help me on this.
    Thank you

    ReplyDelete
    Replies
    1. have you checked your firewall?

      Delete
    2. I have same issue,can some help me.

      Delete
    3. Even Im facing same issue with Perfmon metrics collector. I started Server Agent & test command is successful. Soon after starting test, server agent is crashing and seeing above error message in JMeter log.
      Below is a portion of error message from log file that is getting generated in Server Agent folder

      A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=76668, tid=0x0000000000016314
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_261-b12) (build 1.8.0_261-b12)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.261-b12 mixed mode windows-amd64 compressed oops)
      # Problematic frame:
      # C [sigar-amd64-winnt.dll+0x14ed4]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

      --------------- T H R E A D ---------------

      Current thread (0x000001ce2b1a6000): JavaThread "Thread-0" [_thread_in_native, id=90900, stack(0x0000007111500000,0x0000007111600000)]

      Delete
  7. hi when i run the serveragent.bat file tool classs perfmn agent not found... error is displayed

    ReplyDelete
  8. ./startAgent.sh --udp-port 4444 --tcp-port 4444 --loglevel debug
    ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2
    08:37:01.843 [main] ERROR kg.apc.perfmon.PerfMonWorker - Can't accept UDP connections
    java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_171]
    at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_171]
    at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:691) ~[?:1.8.0_171]
    at sun.nio.ch.DatagramSocketAdaptor.bind(DatagramSocketAdaptor.java:91) ~[?:1.8.0_171]
    at kg.apc.perfmon.PerfMonWorker.listenUDP(PerfMonWorker.java:144) ~[ServerAgent.jar:?]
    at kg.apc.perfmon.PerfMonWorker.startAcceptingCommands(PerfMonWorker.java:107) [ServerAgent.jar:?]
    at kg.apc.perfmon.AgentTool.processParams(AgentTool.java:72) [ServerAgent.jar:?]
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:63) [CMDRunner.jar:?]
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23) [CMDRunner.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
    at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:174) [CMDRunner.jar:?]
    08:37:01.854 [main] ERROR kg.apc.perfmon.PerfMonWorker - Can't accept TCP connections
    java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_171]
    at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_171]
    at sun.nio.ch.Net.bind(Net.java:425) ~[?:1.8.0_171]
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:1.8.0_171]
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[?:1.8.0_171]
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) ~[?:1.8.0_171]
    at kg.apc.perfmon.PerfMonWorker.listenTCP(PerfMonWorker.java:135) ~[ServerAgent.jar:?]
    at kg.apc.perfmon.PerfMonWorker.startAcceptingCommands(PerfMonWorker.java:114) [ServerAgent.jar:?]
    at kg.apc.perfmon.AgentTool.processParams(AgentTool.java:72) [ServerAgent.jar:?]
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:63) [CMDRunner.jar:?]
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23) [CMDRunner.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
    at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:174) [CMDRunner.jar:?]

    Please help me with this

    ReplyDelete
    Replies
    1. PerfMonWorker cant connect via UDP/TCP, make sure your client server communication done properly.

      Delete
  9. I have the same problem, anyone find the reason ??

    ReplyDelete
    Replies
    1. please share your problems regarding monitoring

      Delete
  10. I am getting below error on server while running the cpu combined on jmeter

    ERROR: java.lang.NoClassDefFoundError: java.util.ServiceLoader
    *** Problem's technical details go below ***
    Home directory was detected as: /export/home/XXXXXX/ServerAgent-2.2.3
    Exception in thread "main" java.lang.NoClassDefFoundError: java.util.ServiceLoader
    at kg.apc.perfmon.metrics.PerfMonMetricsService.(PerfMonMetricsService.java:18)
    at kg.apc.perfmon.metrics.PerfMonMetricsService.getInstance(PerfMonMetricsService.java:23)
    at kg.apc.perfmon.metrics.AbstractPerfMonMetric.createMetric(AbstractPerfMonMetric.java:45)
    at kg.apc.perfmon.PerfMonMetricGetter.setUpMetrics(PerfMonMetricGetter.java:137)
    at kg.apc.perfmon.PerfMonMetricGetter.processCommand(PerfMonMetricGetter.java:61)
    at kg.apc.perfmon.PerfMonMetricGetter.processNextCommand(PerfMonMetricGetter.java:100)
    at kg.apc.perfmon.PerfMonWorker.read(PerfMonWorker.java:198)
    at kg.apc.perfmon.PerfMonWorker.processCommands(PerfMonWorker.java:87)
    at kg.apc.perfmon.AgentTool.processParams(AgentTool.java:75)
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:63)
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23)
    at java.lang.reflect.Method.invoke(libgcj.so.7rh)

    ReplyDelete
    Replies
    1. your setup has problems, NoClassDefFoundError shows, server agent does not have necessary library in class path

      Delete
  11. I facing Same issues not sure what to do. Can any one help me please

    ReplyDelete
  12. INFO 2020-10-29 10:48:43.879 [kg.apc.p] (): Binding UDP to 4444
    INFO 2020-10-29 10:48:43.911 [kg.apc.p] (): Binding TCP to 4444
    INFO 2020-10-29 10:48:43.911 [kg.apc.p] (): JP@GC Agent v2.2.3 started
    INFO 2020-10-29 10:49:42.745 [kg.apc.p] (): Accepting new TCP connection
    ERROR 2020-10-29 10:49:54.570 [kg.apc.p] (): Error executing command
    java.lang.UnsupportedOperationException: Unknown command [3]: 'hii'
    at kg.apc.perfmon.PerfMonMetricGetter.processCommand(PerfMonMetricGetter.java:86)
    at kg.apc.perfmon.PerfMonMetricGetter.processNextCommand(PerfMonMetricGetter.java:100)
    at kg.apc.perfmon.PerfMonWorker.read(PerfMonWorker.java:198)
    at kg.apc.perfmon.PerfMonWorker.processCommands(PerfMonWorker.java:87)
    at kg.apc.perfmon.AgentTool.processParams(AgentTool.java:75)
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:63)
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:174)


    some one help me please

    ReplyDelete
    Replies
    1. here is the main problem

      ERROR 2020-10-29 10:49:54.570 [kg.apc.p] (): Error executing command
      java.lang.UnsupportedOperationException: Unknown command [3]: 'hii'

      the data format is causing errors

      Delete
  13. Hi Shantonu,

    I have also facing issues while working with perfmon metrics collector.

    I have shared the erroer also:ERROR k.a.p.c.AbstractTransport: Error during exit
    java.net.SocketException: Connection reset by peer: socket write error

    Please do needful.

    ReplyDelete
    Replies
    1. This error is either for
      1. TCP connection close
      2. Permission to write
      Usually changing timeout or connection quality change might help.

      Please mail me details exception.

      Delete
  14. Hi Shantonu,

    I have also facing issues while working with perfmon metrics collector.

    I have shared the erroer also:ERROR k.a.p.c.AbstractTransport: Error during exit
    java.net.SocketException: Connection reset by peer: socket write error

    Please do needful.

    ReplyDelete
  15. I got this error and had to stop the 10 Hrs run, can you help me ?

    INFO 2021-02-06 17:15:49.179 [kg.apc.p] (): Binding UDP to 4711
    INFO 2021-02-06 17:15:49.247 [kg.apc.p] (): Binding TCP to 4711
    INFO 2021-02-06 17:15:49.261 [kg.apc.p] (): JP@GC Agent v2.2.3 started
    INFO 2021-02-06 17:56:16.566 [kg.apc.p] (): Accepting new TCP connection
    INFO 2021-02-06 17:56:16.596 [kg.apc.p] (): Yep, we received the 'test' command
    INFO 2021-02-06 17:56:16.638 [kg.apc.p] (): Starting measures: memory: cpu: disks i/o:
    INFO 2021-02-07 01:08:26.167 [kg.apc.p] (): Accepting new TCP connection
    ERROR 2021-02-07 01:09:11.227 [kg.apc.p] (): Error executing command
    java.lang.UnsupportedOperationException: Unknown command [4]: 'gqw7'
    at kg.apc.perfmon.PerfMonMetricGetter.processCommand(PerfMonMetricGetter.java:86)
    at kg.apc.perfmon.PerfMonMetricGetter.processNextCommand(PerfMonMetricGetter.java:100)
    at kg.apc.perfmon.PerfMonWorker.read(PerfMonWorker.java:198)
    at kg.apc.perfmon.PerfMonWorker.processCommands(PerfMonWorker.java:87)
    at kg.apc.perfmon.AgentTool.processParams(AgentTool.java:75)
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:63)
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:4

    ReplyDelete
  16. Was running for 10 Hrs and had to stop in between for this error, can you please help ?

    INFO 2021-02-06 17:15:49.179 [kg.apc.p] (): Binding UDP to 4711
    INFO 2021-02-06 17:15:49.247 [kg.apc.p] (): Binding TCP to 4711
    INFO 2021-02-06 17:15:49.261 [kg.apc.p] (): JP@GC Agent v2.2.3 started
    INFO 2021-02-06 17:56:16.566 [kg.apc.p] (): Accepting new TCP connection
    INFO 2021-02-06 17:56:16.596 [kg.apc.p] (): Yep, we received the 'test' command
    INFO 2021-02-06 17:56:16.638 [kg.apc.p] (): Starting measures: memory: cpu: disks i/o:
    INFO 2021-02-07 01:08:26.167 [kg.apc.p] (): Accepting new TCP connection
    ERROR 2021-02-07 01:09:11.227 [kg.apc.p] (): Error executing command
    java.lang.UnsupportedOperationException: Unknown command [4]: 'gqw7'
    at kg.apc.perfmon.PerfMonMetricGetter.processCommand(PerfMonMetricGetter.java:86)
    at kg.apc.perfmon.PerfMonMetricGetter.processNextCommand(PerfMonMetricGetter.java:100)
    at kg.apc.perfmon.PerfMonWorker.read(PerfMonWorker.java:198)
    at kg.apc.perfmon.PerfMonWorker.processCommands(PerfMonWorker.java:87)
    at kg.apc.perfmon.AgentTool.processParams(AgentTool.java:75)
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:63)
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:4

    ReplyDelete
    Replies
    1. i think, there are some error in version or configuration. How come "gqw7" comes in the picture? I need to know details to give you useful answers

      Delete
  17. INFO 2021-02-06 17:15:49.179 [kg.apc.p] (): Binding UDP to 4711
    INFO 2021-02-06 17:15:49.247 [kg.apc.p] (): Binding TCP to 4711
    INFO 2021-02-06 17:15:49.261 [kg.apc.p] (): JP@GC Agent v2.2.3 started
    INFO 2021-02-06 17:56:16.566 [kg.apc.p] (): Accepting new TCP connection
    INFO 2021-02-06 17:56:16.596 [kg.apc.p] (): Yep, we received the 'test' command
    INFO 2021-02-06 17:56:16.638 [kg.apc.p] (): Starting measures: memory: cpu: disks i/o:
    INFO 2021-02-07 01:08:26.167 [kg.apc.p] (): Accepting new TCP connection
    ERROR 2021-02-07 01:09:11.227 [kg.apc.p] (): Error executing command
    java.lang.UnsupportedOperationException: Unknown command [4]: 'gqw7'
    at kg.apc.perfmon.PerfMonMetricGetter.processCommand(PerfMonMetricGetter.java:86)
    at kg.apc.perfmon.PerfMonMetricGetter.processNextCommand(PerfMonMetricGetter.java:100)
    at kg.apc.perfmon.PerfMonWorker.read(PerfMonWorker.java:198)
    at kg.apc.perfmon.PerfMonWorker.processCommands(PerfMonWorker.java:87)
    at kg.apc.perfmon.AgentTool.processParams(AgentTool.java:75)
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:63)
    at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:4

    ReplyDelete