Team,
I have installed activemq monitoring extension under Machine Server Agent in standalone machine. When I start machine server agent, i got below exception.
I have seen the same exception discussed over this forum for RabbitMQ. Hence I tried updating classpath with commons-httpclient-3.1.jar in monitors/ActiveMQMonitor/monitor.xml. Still getting this same below execption.
Can you please help me to setup this?
[Worker-1] 19 Dec 2016 13:23:33,357 INFO ProcessMonitor - Finished collecting metrics...
[Worker-1] 19 Dec 2016 13:23:33,359 INFO ProcessMonitor - Finished printing metrics...
[Worker-1] 19 Dec 2016 13:23:33,359 INFO ProcessMonitor - New round of metric collection started
[Agent-Scheduler-1] 19 Dec 2016 13:23:35,676 ERROR PeriodicTaskRunner - Error creating environment task
java.lang.NoClassDefFoundError: org/apache/commons/io/monitor/FileAlterationListen
at com.appdynamics.extensions.activemq.ActiveMQMonito
at com.appdynamics.extensions.activemq.ActiveMQMonito
at com.singularity.ee.agent.systemagent.components.mo
at com.singularity.ee.agent.systemagent.components.mo
at com.singularity.ee.agent.systemagent.components.mo
at com.singularity.ee.util.javaspecific.scheduler.Age
at java.util.concurrent.Executors$RunnableAdapter.cal
at com.singularity.ee.util.javaspecific.scheduler.ADF
at com.singularity.ee.util.javaspecific.scheduler.ADF
at com.singularity.ee.util.javaspecific.scheduler.ADS
at com.singularity.ee.util.javaspecific.scheduler.ADS
at com.singularity.ee.util.javaspecific.scheduler.ADS
at com.singularity.ee.util.javaspecific.scheduler.ADT
at com.singularity.ee.util.javaspecific.scheduler.ADT
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.monitor.FileAlterationListen
at com.singularity.ee.util.loader.FileSystemClassLoad
at java.lang.ClassLoader.loadClass(ClassLoader.java:4
at com.singularity.ee.util.loader.FileSystemClassLoad
at java.lang.ClassLoader.loadClass(ClassLoader.java:3
... 15 more
My ActiveMQ config.yml:
root@XX : XX@XX # head -20 monitors/ActiveMQMonitor/config.yml
### ANY CHANGES TO THIS FILE DOES NOT REQUIRE A RESTART ###
#This will create this metric in all the tiers, under this path
metricPrefix: Custom Metrics|ActiveMQ
#This will create it in specific Tier. Replace <TIER_NAME>
#metricPrefix: Server|Component:<TIER_NAME>|Custom Metrics|ActiveMQ
# List of ActiveMQ Servers
servers:
- host: "localhost"
port: 8161
username: "<<user name to access activemq console>>"
password: "<<password to access activemq console>>"
#displayName is a required field. This will be your server name that will show up in metric path.
displayName: "activemqb"
# number of concurrent tasks.
# This doesn't need to be changed unless many servers are configured