Quantcast
Channel: All AppDynamics Discussions posts
Viewing all 1667 articles
Browse latest View live

Re: How to check the existing license Key in AppDynamics for Database

$
0
0

Hi Munna,

 

Can you check under <AppDynamics_for_databases_install_dir>/agent/dbtuna.key (open this file in text editor to see key) See if that information helps, refer sample path in below screenshot , Hope that information helps

 

Also we expect that you must have got email notification with dbtuna key you can check email as well

 

screen11.png


Re: Does AppDynamics work native on OSX

$
0
0

Hi,


I tried to Install latest on-premise AppDynamics solution on Mac OS and it didn't work out. 
I got:

sudo ./controller_64bit_linux-4.1.3.1.sh 
Unpacking JRE ...
Preparing JRE ...
./controller_64bit_linux-4.1.3.1.sh: line 203: bin/unpack200: cannot execute binary file
Error unpacking jar files. The architecture or bitness (32/64)
of the bundled JVM might not match your machine.

Can you please comment on this?

B.R. E.

Re: Call graph .NET - Instrumenting the private classes and methods

$
0
0

The .NET agent does not cause any ASP.NET compilations.

Exception in controller logs

$
0
0

I see folowing exception traces in my controller srver logs:

 

[#|2015-09-11T15:22:04.440+0530|SEVERE|glassfish3.1.2|com.singularity.ee.controller.beans.analytics.account.AnalyticsAccountManagerBean|_ThreadID=153;_ThreadName=Thread-5;|Could not create or update accounts on local analytics instance. Likely some connectivity issue; currently trying to connect with controller key of 3e0bf9b4-....
com.appdynamics.analytics.shared.rest.exceptions.ClientException: Could not execute request to http://localhost:9080/v1/account/search
	at com.appdynamics.analytics.shared.rest.client.utils.GenericHttpRequestBuilder.getResponse(GenericHttpRequestBuilder.java:213)
	at com.appdynamics.analytics.shared.rest.client.utils.GenericHttpRequestBuilder.executeAndReturnRawResponseString(GenericHttpRequestBuilder.java:227)
	at com.appdynamics.analytics.shared.rest.client.auth.DefaultAccountServiceClient.getAccountConfigurations(DefaultAccountServiceClient.java:125)
	at com.appdynamics.analytics.shared.rest.client.DefaultAnalyticsClient.getAccountConfigurations(DefaultAnalyticsClient.java:35)
	at com.singularity.ee.controller.beans.analytics.account.AnalyticsAccountManagerBean.createUpdateAccountsInternal(AnalyticsAccountManagerBean.java:269)
	at com.singularity.ee.controller.beans.analytics.account.AnalyticsAccountManagerBean.createUpdateAccounts(AnalyticsAccountManagerBean.java:191)
	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 org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
	at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
	at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)
	at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
	at com.singularity.ee.controller.beans.EntityManagerInterceptor.manageEntityManagerLifecycle(EntityManagerInterceptor.java:53)
	at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
	at com.singularity.ee.controller.beans.ExceptionHandlingInterceptor.handleExceptions(ExceptionHandlingInterceptor.java:60)
	at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
	at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
	at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
	at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)
	at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)
	at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
	at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)
	at com.sun.proxy.$Proxy618.createUpdateAccounts(Unknown Source)
	at com.singularity.ee.controller.beans.ControllerTimerTaskBean.doProcess(ControllerTimerTaskBean.java:476)
	at com.singularity.ee.controller.beans.AScheduleTimerTask$1.call(AScheduleTimerTask.java:61)
	at com.singularity.ee.controller.beans.AScheduleTimerTask$1.call(AScheduleTimerTask.java:59)
	at com.google.inject.servlet.ServletScopes$4.call(ServletScopes.java:251)
	at com.singularity.ee.controller.beans.AScheduleTimerTask.process(AScheduleTimerTask.java:59)
	at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
	at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
	at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)
	at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundTimeout(SystemInterceptorProxy.java:149)
	at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
	at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
	at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)
	at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)
	at com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:4058)
	at com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1832)
	at com.sun.ejb.containers.EJBTimerService.access$100(EJBTimerService.java:108)
	at com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:2646)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:9080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:142)
	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
	at com.appdynamics.analytics.shared.rest.client.utils.GenericHttpRequestBuilder.getResponse(GenericHttpRequestBuilder.java:211)
	... 75 more
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
	at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72)
	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125)
	... 85 more

 

I have register agent successfully on JBOSS server side. But when I log into controller portal and try to connect to agent, it waits indefinitely with message "waiting for connection".

 

I am using AppDynamics Pro trial controller_64bit_windows-4.1.3.1. I have sent almost one day on this issue with no results. Please guide me to resolve it.

 

Thanks,

Re: Exception in controller logs

$
0
0

Hi,

 

- We see below particular error could have raised to events service part of controller not running , To reolve below error, you can do below:

 

shell> cd <Controller_install_dir>/bin

shell> ./controller.sh/bat stop-events-service 

Skip above step if events service on port 9080 is running already , if not try below step:

 

shell>./controller.sh start-events-service

 

 

com.appdynamics.analytics.shared.rest.exceptions.ClientException: Could not execute request to http://localhost:9080/v1/account/search 

 

- We see above error is not related to agent reporting installed on JBoss server, Can you please provided below for more clarity:

a) Attach archive of logs folder at location <AppServerAgent_install_dir>/<ver>/logs 

b) Also provide screenshot from Controller UI showing the message/error , post trying below steps:

- try from different browser with latest flash and browser version install, say chrome/firefox if not using using popular browser

- clear browser or flash cache on same browser and if issue persists send the below logs:

   a) recent 2-3 server.log from <Controller_install_dir>/logs path (we see from portal it looks you are referring self service onPremise trail, let us know if any disconnect on setup type here is saas/onPremise)

Re: Controller does not show the 1 hour granularity metrics for tiers

$
0
0

Hi Akumar,

 

Thanks for you response. Please find my answers below:

 

a) We have a test controller and it is not a major thing if we break it. DB is ~ 700 GB so it would take a while back-up it. But it is doable. As a side note I have run the upgrade on teh test controller firts and after on the live controller. The issue is reproducible on both instances. So i would assume we hit a bug.

b)For now metricdata_hour_agg is the only one that raised problems.

 

c) please find the attached sqlqueryfile

 

d) please find the attached metricdata file

 

 

Thanks for your help.

 

Cheers,

Claudiu

Re: Controller does not show the 1 hour granularity metrics for tiers

$
0
0

Hi Claudiu,

 

- We would like clarify that if there are any db errors before upgrade than it will "not" automatically will get fixed by upgrade process, we need to have db with no errors before upgrade process.

 

Try below steps and see how it goes:

a) If possible as it is test controller , stop both contorller java and mysql and take backup

OR take backup of below all files related to affected table name metricdata_hour_agg, files that have table file names metricdata_hour_agg after stopping controller appserver java and mysql process (contorller.sh stop-appserver, stop-db)

 

b) Now run below steps:

shell> ./controller.sh stop-appserver

shell> ./controller.sh stop-db

shell> ./controller.sh start-db

shell> ./controller.sh login-db

mysql> 

and issue attached sql at mysql prompt

 

c) and now issue below commands again

shell> ./controller.sh stop-db

shell> ./controller.sh start-db

shell> ./controller.sh start-appserver

 

Now see how it goes with error and controller ui accessibility.

 

Keep us posted if you see any issues 

 

Regards,

Arun

 

Re: Does AppDynamics work native on OSX

$
0
0

Hi ,

 

We have customers and users successfully installed controller on Mac OS, Can you check the default jvm version on your mac th default jvm version looks not be compataible with installer and this need to correct check if that info helps


.NET agent not recording a worker process recycle

$
0
0

I have deployed the .NET PetShop application on Win2008/IIS7/SQL2008.  I have a .NET agent and a DB Agent....all of which are working fine.  I am trying to simulate errors and one of things I have done is configured the IIS AppPool runnig my app to recycle after every 12 requests.  when I am in the middle of running through a test transaction, after 12 clicks on my app, it becomes very slow for aabout 20 seconds (the appPool is recycling as expected and gives me the desired negative user experience).  However, when the data gets into my AppD controller, I do not see any errors and no slowness is reported. 

 

When the IIS AppPool is recycled, what does the AppD .NET Agent do?  Does it recycle as well, therefore not reporting any real errors/slowness?

 

Thanks!

 

mike

 

NodeJS app Agent no connecting to Controller

$
0
0

Hello - 

Problem Sympton -

NodeJS App Agent dosen't connect to Controler.

 

Scenario -

1. NodeJS app

2. Everything seems to be working fine from the App and console side

3. App never shows up in the Controler UI.

4.   agentState: 'UNREGISTERED'  message in log

5 Output in the console follows:

  logs:

   { out:

      [ { msg: 'agent.tmpDir = "/tmp/appd/4c0e281b0ccdfa0accebcae670d4b8ed"',

          t: '14-08-2015 20:37:45.654' },

        { msg: 'agent.proxyCtrlDir = "/tmp/appd/4c0e281b0ccdfa0accebcae670d4b8ed/proxy/c"',

          t: '14-08-2015 20:37:45.656' },

        { msg: 'Loaded native extention.',

          t: '14-08-2015 20:37:45.662' },

        { msg: 'launching proxy from master node 0',

          t: '14-08-2015 20:37:45.664' },

        { msg: 'ProcessScanner - maxSnapshotsPerPeriod: 2',

          t: '14-08-2015 20:37:45.698' },

        { msg: 'ProcessScanner - snapshotCountResetPeriodMS: 60000',

          t: '14-08-2015 20:37:45.699' },

        { msg: 'ProcessScanner - autoSnapshotDurationSeconds: 10',

          t: '14-08-2015 20:37:45.699' },

        { msg: 'found cluster module', t: '14-08-2015 20:37:45.719' },

        { msg: 'found fs module', t: '14-08-2015 20:37:45.720' },

        { msg: 'found http module', t: '14-08-2015 20:37:45.727' },

        { msg: 'found https module', t: '14-08-2015 20:37:45.732' },

        { msg: 'found net module', t: '14-08-2015 20:37:45.758' },

        { msg: 'proxyArgs = [\n "-d",\n "/Users/Gaby/Documents/Technical/twilio/Twilio_Twitter/node_modules/appdynamics/node_modules/appdynamics-proxy/proxy",\n "-r",\n "/tmp/appd/4c0e281b0ccdfa0accebcae670d4b8ed/proxy/r",\n "-j",\n "/Users/Gaby/Documents/Technical/twilio/Twilio_Twitter/node_modules/appdynamics/node_modules/appdynamics-jre/jre",\n "--",\n "/tmp/appd/4c0e281b0ccdfa0accebcae670d4b8ed/proxy/c",\n "/tmp/appd/4c0e281b0ccdfa0accebcae670d4b8ed/proxy/l",\n "-Dregister=false"\n]',

          t: '14-08-2015 20:37:46.653' },

        { msg: 'cmdLine = /Users/Gaby/Documents/Technical/twilio/Twilio_Twitter/node_modules/appdynamics/node_modules/appdynamics-proxy/proxy/runProxy -d /Users/Gaby/Documents/Technical/twilio/Twilio_Twitter/node_modules/appdynamics/node_modules/appdynamics-proxy/proxy -r /tmp/appd/4c0e281b0ccdfa0accebcae670d4b8ed/proxy/r -j /Users/Gaby/Documents/Technical/twilio/Twilio_Twitter/node_modules/appdynamics/node_modules/appdynamics-jre/jre -- /tmp/appd/4c0e281b0ccdfa0accebcae670d4b8ed/proxy/c /tmp/appd/4c0e281b0ccdfa0accebcae670d4b8ed/proxy/l -Dregister=false',

          t: '14-08-2015 20:37:46.654' },

        { msg: 'Proxy logging to: /tmp/appd/4c0e281b0ccdfa0accebcae670d4b8ed/proxy/l',

          t: '14-08-2015 20:37:46.662' },

        { msg: 'Proxy spawned!', t: '14-08-2015 20:37:46.662' },

        { msg: 'starting control socket..',

          t: '14-08-2015 20:37:50.685' } ],

     err: [] } }

appdynamics v4.1.3.0 (14-08-2015 20:37:53.025): control response message received from proxy

appdynamics v4.1.3.0 (14-08-2015 20:37:55.032): { type: 'CONFIG',

  configReq:

   { lastVersion: -1,

     nodejsProcessMetrics:

      { cpuUsage: 9,

        heapSize: 28,

        nodeRss: 57,

        numOfFullGCs: 1,

        numOfIncGCs: 7,

        heapSizeChange: 19,

        diskIOKBReadPerSec: 2767,

        diskIOKBWrittenPerSec: 3,

        netwIOKBReadPerSec: 0,

        netwIOKBWrittenPerSec: 0,

        socketIOConnections: 0,

        socketIOConnectionsTotal: 0,

        socketIOMessagesSent: 0,

        socketIOMessagesReceived: 0,

        socketIOSentMessagesSize: 0,

        socketIOReceivedMessagesSize: 0,

        eventLoopTickCount: 90,

        eventLoopMinTickLength: 0,

        eventLoopMaxTickLength: 5,

        eventLoopAvgTickLength: 0,

        eventLoopAvgIOTime: 0 } } }

phone number +14152548385

error [object Object]

appdynamics v4.1.3.0 (14-08-2015 20:38:23.032): { type: 'CONFIG',

  configReq:

   { lastVersion: -1,

     nodejsProcessMetrics:

      { cpuUsage: 1,

        heapSize: 31,

        nodeRss: 55,

        numOfFullGCs: 0,

        numOfIncGCs: 0,

        heapSizeChange: 0,

        diskIOKBReadPerSec: 84,

        diskIOKBWrittenPerSec: 0,

        netwIOKBReadPerSec: 0,

        netwIOKBWrittenPerSec: 0,

        socketIOConnections: 0,

        socketIOConnectionsTotal: 0,

        socketIOMessagesSent: 0,

        socketIOMessagesReceived: 0,

        socketIOSentMessagesSize: 0,

        socketIOReceivedMessagesSize: 0,

        eventLoopTickCount: 299,

        eventLoopMinTickLength: 0,

        eventLoopMaxTickLength: 48,

        eventLoopAvgTickLength: 0,

        eventLoopAvgIOTime: 0 } } }

appdynamics v4.1.3.0 (14-08-2015 20:38:23.094): config response message received from proxy

appdynamics v4.1.3.0 (14-08-2015 20:38:23.094): { currentVersion: '1442288275105',

  agentState: 'UNREGISTERED',

  timestampSkew: '0' }

Re: Does AppDynamics work native on OSX

$
0
0
I have two versions and none of them are working:

java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

java version "1.8.0_60-ea"
Java(TM) SE Runtime Environment (build 1.8.0_60-ea-b24)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

Re: App agent status

$
0
0

Santosh - did you ever find an answer to this?  I have the same question regarding application availability and being able to show an applications availability metric in the metric browser or a dashboard.  It seems this view app servers health page shows what I need.

Can't access Controller-UI

$
0
0

Hi,

we moved our AppDynamics-Controller to a new server, with a new server-name and also a new ip-address.

We would like to keep our AD-data, so we customized (ip+port) the startscript and the GlassFish - domain.xml.

After we start AppDynamics, the startup.log shows many successful messages but although the system seems to be running (telnet to address and port is fine), we can not acces the Controller-UI via http://<url>:<port>/controller.

Any answer will be appreciated.

Thanks in advance!
Ramiz

Monitoring of internal-only web apps?

$
0
0

We want to monitor a number of internal-only web apps.  Specifically, we want to do various HTTP GET/POST operations to assert that the web apps are in a healthy state.

 

  1. Is the Synthetics monitoring the right tool?
  2. If we use AD SaaS, how can we monitor web apps that are not publicly accessible.

 

Thanks,

Kelly

App dynamics with Cloud Watch

$
0
0

Hi , 

I have application hosted on AWS

I do know that there is an Amzong monitoring tool called Cloud Watch.

 

What is the advantage of using AppD instead of Cloud Watch 

 

Regards,

Syed 


Adding database agent to license file

$
0
0

Hi,

 

How does one add database agents to a license file?

 

Dhruv

Re: Controller does not show the 1 hour granularity metrics for tiers

$
0
0

Hi,

 

Thanks for you reply.

 

Applied the below changes and it seems that there is another table that is missing the PRIMARY key:

 

mysql> describe metricdata_hour;
+-----------------------------------+----------------------+------+-----+---------+-------+
| Field                             | Type                 | Null | Key | Default | Extra |
+-----------------------------------+----------------------+------+-----+---------+-------+
| ts_min                            | int(11)              | NO   | MUL | NULL    |       |
| metric_id                         | int(11)              | NO   | MUL | NULL    |       |
| rollup_type                       | tinyint(4)           | NO   |     | NULL    |       |
| cluster_rollup_type               | tinyint(4)           | NO   |     | NULL    |       |
| node_id                           | int(11)              | NO   |     | NULL    |       |
| application_component_instance_id | smallint(5) unsigned | NO   |     | NULL    |       |
| application_id                    | smallint(5) unsigned | NO   |     | NULL    |       |
| count_val                         | bigint(20) unsigned  | NO   |     | NULL    |       |
| sum_val                           | bigint(20)           | NO   |     | NULL    |       |
| min_val                           | bigint(20)           | NO   |     | NULL    |       |
| max_val                           | bigint(20)           | NO   |     | NULL    |       |
| cur_val                           | bigint(20)           | NO   |     | NULL    |       |
| weight_value_square               | double               | NO   |     | NULL    |       |
| weight_value                      | double               | NO   |     | NULL    |       |
| hr_of_day                         | int(11)              | NO   |     | NULL    |       |
| hr_of_week                        | int(11)              | NO   |     | NULL    |       |
| hr_of_month                       | int(11)              | NO   |     | NULL    |       |
+-----------------------------------+----------------------+------+-----+---------+-------+
17 rows in set (0.01 sec)

 

 

The error related to this would be:

 

[#|2015-09-16T22:30:45.056+0000|SEVERE|glassfish3.1.2|com.appdynamics.METRICS.WRITE|_ThreadID=4596;_ThreadName=Thread-5;|failed doing  rollup: metricdata_hour_agg :
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Key 'PRIMARY' doesn't exist in table 'MD'
        at sun.reflect.GeneratedConstructorAccessor531.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318)
        at com.sun.gjc.spi.base.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:125)
        at com.singularity.ee.controller.beans.agent.db.MetricDataRollupHandler.doRollupParallel(MetricDataRollupHandler.java:69)
        at com.singularity.ee.controller.beans.agent.db.MetricDataRollupHandler.access$000(MetricDataRollupHandler.java:31)
        at com.singularity.ee.controller.beans.agent.db.MetricDataRollupHandler$RollupTask.call(MetricDataRollupHandler.java:457)
        at com.singularity.ee.controller.beans.agent.db.MetricDataRollupHandler$RollupTask.call(MetricDataRollupHandler.java:435)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
|#]

 

 

I think we would need to recreate the table: metricdata_hour as well

 

Also I get the below error after restarting the controller:

 

[#|2015-09-17T06:58:27.933+0000|SEVERE|glassfish3.1.2|com.singularity.ee.controller.beans.agent.db.PerfDataPartitionPurge|_ThreadID=1;_ThreadName=Thread-5;|TRUNCATE FAILED TO FINISH: ALTER TABLE metricdata_hour_agg TRUNCATE PARTITION PART
16330
java.sql.SQLException: Incorrect partition name
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2619)
        at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1709)
        at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1628)
        at com.sun.gjc.spi.base.StatementWrapper.executeUpdate(StatementWrapper.java:117)
        at com.singularity.ee.controller.beans.agent.db.PerfDataPartitionPurge.alterPartition(PerfDataPartitionPurge.java:379)
        at com.singularity.ee.controller.beans.agent.db.PerfDataPartitionPurge.purgePartitionsForShard(PerfDataPartitionPurge.java:346)
        at com.singularity.ee.controller.beans.agent.db.PerfDataPartitionPurge.purgePartitionsDirectly(PerfDataPartitionPurge.java:243)
        at com.singularity.ee.controller.beans.agent.db.MetricDataPurger.purgeMetricData(MetricDataPurger.java:353)
        at com.singularity.ee.controller.beans.agent.MetricDataWriterBean.processMetricPurges(MetricDataWriterBean.java:952)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

 

 to mitigate this one I am recreating the metricdata_hour_agg as well.

 

Thanks,

Claudiu

Re: App dynamics with Cloud Watch

$
0
0

CloudWatch provides data and the API for infrastructure metrics from Amazon services, you also have a simple webapp to do basic analysis of those metrics. AppDynamics supports taking metrics from CloudWatch and baselining them the same way we baseline all of your transactions and metrics. The extension can be downloaded here : https://github.com/Appdynamics/aws-cloudwatch-monitoring-extension

SMS Policy for Group of JVM's

$
0
0

Hello,

 

I want to setup SMS policy for my all the JVM's, do we have any option in Appdynamics which allow mne to setup SMS Policy to update SMS for all the JVM's together. 

 

We are changing our oncall person every 15 days and Its very hard to change SMS Policy for each JVM manualy.

Is there any way I can change SMS Policy and it wiull reflect to all the JVMs

 

Thanks

SUnny Kathuria

appdynamic reporting service calls in wrong application tier why?

$
0
0

we have service name "abc-service" and endpoints are http://a.com/abc-service/v1 and http://a.com/abc-service/v2 that we hit. 

 

so my another applicaiton xyz is hitting only http://a.com/abc-service/v2 but appdynamics reporting call is going to both tiers abc-service and  abc-service-v2  . why? it should show call to only abc-service-v2 tier .

 

 

two tiers:

1) abc-service-v2   i.e for v2 calls 

2) abc-service i.e for v1 calls

 

 

 

Viewing all 1667 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>