Home  »   Applications Manager »  APM Insight »  apminsight troubleshooting tips javaagent

apminsight troubleshooting tips javaagent


How to add an APM Insight Monitor?
After you deploy APM Insight agent in your Application Server with suitable Applications Manager credentials in apminsight.conf, APM Insight monitors will be added automatically when Application Server is started.

I have added APM Insight Agent in my Application Server with the correct credentials in apminsight.conf, but still i don't see any APM Insight monitors getting added in Applications Manager?.

1.Check if you have restarted /started the Application Server where you have deployed the agent.
2.If you have restarted/started
the Application Server and still it not get added, check the communication between APM Insight Agent and Applications Manager.
 3.Specify Proxy server configuration when there is a proxy server between APM Insight agent and Applications Manager server. 
 To check if there is a proxy, open a browser in the APM Insight Agent machine and  try connect to http://apm.host:apm.port or https://apm.host:apm.sslport
 It should display the login page of Applications Manager. Check with your network administrators if you are not able to see the login page, it may be because the port has to be opened in firewall. 
  Check whether any proxy server is configured in the browser and specify those values in apminsight.conf

After APM Insight monitors gets added, why is the Availability and Health status still in Not updated state?
APM Insight Availability and Health attributes will only be updated after one minute of your monitor addition.

Will Availability and Health attributes will be updated for every one minute interval ?
No, by default it will be updated after five minutes. Only for the very first time (after monitor addition), it will be updated after one minute.

Can I change the default attribute update interval from 5 minute to my own interval.
Yes. You can change the update time to your convenient value.
To do this go to  Applications Manager home > working > apminsight >conf > apminsight.properties
Enter your convenient interval time(in minutes) for the key attribute.update.timeinterval

Availability of APM Insight Monitor shows Up, But I   still can't see any data. why?

One Possible reason is that, no web transactions might have taken place in your Application Server.

No data is shown in Application Manger, though web transaction is taking place in the Application server(where the agent is deployed). why?
After every one minute, agent will push the metric data to the Applications Manager. So you can see the data after one minute(network traffic delay excluded)
If you don't see the data even after one minute, it will be due to network problem where you should pay attention.

Availability of APM Insight Monitor shows down. What does it mean?

It means, either your application  server is down or the communication between the agent & application server is not good.

Can I configure thresholds & alarms to the  apdex, response time metric that I have received?

Yes, you can configure your customized threshold values as you configure for other Applications Manager monitors.

What is the maximum history of metric data that i can view?

One day.

Can I   view the trace of a web transaction that consumes more response time?

Yes, all slow web transactions traces will be available under the APM Insight Traces tab.

Why don't I see any traces of a web transaction which I thought to be very slow.

You might have disabled trace collection in your Agent. Enable trace collection by setting true for the  key transaction.trace.enabled.
Also, a web transaction is decided to be a slowest transaction based on your threshold value set for the key transaction.trace.threshold. (specified in seconds)
Why I don't see any metrics under database tab. why?

You might have disabled SQL Query listening in your Agent. Enable it by setting true for the key sql.capture.enabled

Can I group more than one instance under an Application Name. If yes, how?

Yes. You can group more than one instances under a Application Name. To do this, while deploying the agent in application sever, specify the same application name for key application.name

Can I rename the Application Name, thus created in Applications Manager?

No. Application Name cannot be renamed.

Can I Compare metrics across all/selective instances?


Can I  move an Instance under one Application to another Application?


Will I be able to view all the APM Insight graphs, charts if my browser doesn't have flash installed?

Yes. You can view all the graphs even if your browser doesn't have flash installed. In such a case, graph will be rendered as java scripts.

Where I can see the list of all web transactions sorted by its average response time?

You can see under APM Insight Web Transaction tab with sorting value 'slowest average response time''.

How can I temporarily stop the APM Insight metric collection?

Metric Collection can be stopped by UnManaging the APM Insight Monitor.

Guest 657 - days ago 
I have problem with APM Insight part. Chart only shows JVM statistics (can't able to see the database statistics) report. Also in APM Insight -> Database won't show any queries. Why this problem occurs. For that I have changed the config file of APM Insight with "sql.capture.enabled=true". I have used DB2. Even I am not yet getting the query statistics. What shall i do?
Gobikrishnan Janarthanam 657 - days ago 

In regard to this issue contact appmanager-support@manageengine.com along with below information and we can assist further.

1.Screenshot of the APM Insight monitor details page.
2.Logs zip from the APM Insight agent directory.

CFriedrich (Guest) 628 - days ago 
I have the same Problem, we are using a db2 database which is on another server (remote db2) and we also see no information in the database tab.

Gobikrishnan Janarthanam 627 - days ago 

In regard to this issue contact appmanager-support@manageengine.com along with below information and we can assist further.

1.Click on the Support tab-> Installation Information showing the Build number.
2.Screenshot of the APM Insight monitor details page.
3.Logs zip from the APM Insight agent directory.

Guest 367 - days ago 
After adding this line: JAVA_OPTS="$JAVA_OPTS -javaagent:/opt/jboss/APM.Insight.Java.agent/apminsight-javaagent.jar" to domain.conf, our JBoss EAP 6.0 fails to start with this message:

Starting jboss-as: [Host Controller] Exception in thread "main" java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
[Host Controller] at org.jboss.logmanager.Logger.getLogger(Logger.java:61)
[Host Controller] at org.jboss.as.host.controller.Main.main(Main.java:97)
[Host Controller] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Host Controller] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[Host Controller] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[Host Controller] at java.lang.reflect.Method.invoke(Method.java:601)
[Host Controller] at org.jboss.modules.Module.run(Module.java:270)
[Host Controller] at org.jboss.modules.Main.main(Main.java:294)

So I edited domain.conf, and added:

JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.jboss.logmanager.LogManager"

But this didn't help, either. So I googled for this kind of errors, and eventually gave up at this:

JAVA_OPTS="$JAVA_OPTS -javaagent:/opt/jboss/APM.Insight.Java.agent/apminsight-javaagent.jar"
JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
JAVA_OPTS="$JAVA_OPTS -Dorg.jboss.logging.Logger.pluginClass=org.jboss.logging.logmanager.LoggerPluginImpl"
JAVA_OPTS="$JAVA_OPTS -Xbootclasspath/p:/opt/jboss/jboss-eap-6.0/modules/org/jboss/logmanager/main/jboss-logmanager-1.3.1.Final-redhat-1.jar"
JAVA_OPTS="$JAVA_OPTS -Xbootclasspath/p:/opt/jboss/jboss-eap-6.0/modules/org/jboss/log4j/logmanager/main/log4j-jboss-logmanager-1.0.0.Final-redhat-1.jar"
JAVA_OPTS="$JAVA_OPTS -Xbootclasspath/p:/opt/jboss/jboss-eap-6.0/modules/org/apache/log4j/main/log4j-1.2.16-redhat-1.jar"

I don't know what else to try - the agent simply won't start, complaining again about

[root@server]# service jboss-as start
Starting jboss-as: [Host Controller] Exception in thread "main" java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")

I checked the service, and I am sure it is running the "domain.sh" script - which reads the "domain.conf" that I added the above in.

Any ideas on something else to try?
Gobikrishnan Janarthanam 367 - days ago 
Hi Guest,

What is the java version used by this Jboss EAP instance?

 RSS of this page