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

Re: Web EUEM for Oracle PeopleSoft application


Controller ADLDS authentification

$
0
0

Hi everyboby,

I have a question for the community as appdynamics support is not abble to give me any answer.

 

In my company, we have two populations identified in two separate Active Directory server, not trusted.

 

As it is not possible to set multiple AD in the collector authetification provider and ;net agent can not report to multi tenant in the controller, I imagine configuring an ADLDS to integrate my two untrusted Active dir.

 

Does some one as incounterd the same problem and as successfully implemented this kind of solution.

 

Thanks in advance for your answers

 

best regards.

KeystoneJS application failed to start when running on Cloud Foundry?

$
0
0

Hello everyone,

 

I work for IBM cloud division, we are currently delivering a rather large client application to production as a CloudFoundry application (IBM BlueMix). The application is a NodeJS application using the Keystone JS CMS framework (based on Node Express). When adding the appdynamics dependency and then adding the "require("appdynamics")..." line as the first call of the app entry file, we thought that we are good to go. Starting the app locally did not seem to cause any problems (except for the AppDynamics controller not detecting anything once the app was started, but that's a different story that does not concern me at this moment). But when we actually push our application to CloudFoundry using "cf push", the application failes to start up. The error message we get back is the following:

 

 

ERR [
2015-09-30T10:27:33.81+0200 [App/2]      ERR   {
2015-09-30T10:27:33.81+0200 [App/2]      ERR     "err": "TypeError: Cannot read property 'toLowerCase' of undefined\n    at /home/vcap/app/node_modules/keystone/node_modules/express/node_modules/send/node_modules/statuses/index.js:11:27\n    at Array.map (native)\n    at Object.<anonymous> (/home/vcap/app/node_modules/keystone/node_modules/express/node_modules/send/node_modules/statuses/index.js:7:35)\n at Module._compile (module.js:460:26)\n    at Object.Module._extensions..js (module.js:478:10)\n    at Module.load (module.js:355:32)\n    at Function.Module._load (module.js:310:12)\n    at Module.require (module.js:365:17)\n    at Module.newFunc (/home/vcap/app/node_modules/knj-plugin/lib/aspect.js:42:30)\n    at Module.obj.(anonymous function) [as require] (/home/vcap/app/node_modules/appdynamics/lib/core/proxy.js:214:22)",
2015-09-30T10:27:33.81+0200 [App/2]      ERR     "t": "30-08-2015 08:27:33.809"
2015-09-30T10:27:33.81+0200 [App/2]      ERR   }
2015-09-30T10:27:33.81+0200 [App/2]      ERR ]
...

 

We use the latest version of node and npm, as well as the lates version of AppDynamics.

 

Is this something that someone already saw? Any suggestions of why it might do this? Or even better, any idea as of how to solve this issue?

 

Thanks,

 

Michael

  

Add the sum of two MBeans as on metric on a JMX graph

$
0
0

Is it possible to create my own Mbean attribute which is a sum of two other attributes so that it can be graphed on the JMX browser? Like if I wanted to add availableConnections and borrowedConnections and have them listed as totalConnections?

 

Thanks,

 

Re: Add the sum of two MBeans as on metric on a JMX graph

$
0
0

Hi Jonathan,

 

We have two ways , one is to check whether the target mbean totalConnection is an exposed jmx mbean already on server, and i would request you to check in node dashboard -> JMX as stated in doc link https://docs.appdynamics.com/display/PRO41/Configure+JMX+Metrics+from+MBeans

 

- If the target mbean not exposed than as of now i do not see any direction that will give sum of two different mbeans but we can use rest api to gather metrics from metric browser and report back to metric browser using machine agent custom metrics feature so that it could be used in dashboard

 

https://docs.appdynamics.com/display/PRO41/Use+the+AppDynamics+REST+API

https://docs.appdynamics.com/display/PRO41/Extensions+and+Custom+Metrics

 

- Though we do not have an option to report sum of two different metrics from metric browser but if target is to get alert when the sum crosses a value, than you can use existing "create custom expression" feature in Alert & Respond -> Health rule -> add health rule -> in edit view under condition section select "custom expression" where we can get metric1+metric2 as expression

 

Let us know if that information helps

Business Transactions won't pickup WebLogic virtual-directory-mapping

$
0
0

I'm using the virtual-directory-mapping feature of WebLogic.  I can't seem to get AppDynamics to pickup any of these requests.  Any thoughts?

 

Thanks in advance.

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

$
0
0

Hi Arun,

 

Any chance you can provide us with a fix for this?

 

Perhaps re-creating the  metricdata_hour table would solve it, even if that means we'll loose the data in this table.

 

Other fix might save the date in this table - but any is welcomed now.

 

Thanks,

Claudiu

Re: Add the sum of two MBeans as on metric on a JMX graph

$
0
0

Hi Akumar,

 

Yes the two values are already exposed in the mBean browser as standard by AppDy. What I was more or less trying to achieve was a "stacked graph" so that I could tell the when the sum of two metrics reached near the maxAvailable of another mBean, i dont need it in an alert because i wanted to monitor it over time.

 

So you're saying I cant do that?


Re: Add the sum of two MBeans as on metric on a JMX graph

$
0
0

Hi Jonathan,

 

I was saying it can be done "it is possible" but that needs some custom script that will rest api response of target metrics from metric browsers (select target metric use option "Copy rest URL" ) and render that response (sum the value for two metrics and report back as new stacked metric using script from custom monitor in machine agent and report back target metric in metric browser which you could be able to use in custom dashboard

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

$
0
0

Hi Claudiu,

 

Please issue same steps for new table create script attached like we did earlier to recreate one and if issue persists on step wise in new logs send the list of tables , at this point we will loose old data, Just make sure we are not restarting controller in abnormal way by any chance which leads table corruption in future.

 

Re: Business Transactions won't pickup WebLogic virtual-directory-mapping

$
0
0

Hi Andy,

 

- AppServer Java Agent could instrument at class level but going through the link for one category it looks it is gif requests which does not looks involve out of box supported servlet interceptors but for jsp case, we should be able to define Custom POJO rules as stated in docs if out of box BT detection (though servlet entry points and auto discovery is enabled under Configure -> transaction detection in UI ) does not help 

 

https://docs.appdynamics.com/display/PRO41/POJO+Entry+Points

 

If above is not the case, please send the archive of logs and conf folder under <AppServerAgent_dir>/<ver>/ path for initial review of logs and classes being intercepted

Re: Add the sum of two MBeans as on metric on a JMX graph

$
0
0

Oh right, cool, I'll give it a go!

Appdynamic Support for Cordys BPM Application (like BOP4)

$
0
0

Hi,

 

We are looking to use Appdynamic for Cordys application but won't get any thread on whether it supports this Cordys BPM applications or not. And what are challenges in instrumenting the Cordys Application.

 

Any help will be appreciated.

 

Thanks,

Harshit

 

AppDynamics behind Proxy

$
0
0

I've just installed and started trying to work with AppDynamics (lite) but because it is sitting behind a proxy the agent downloads are failing. The machine it is running on is configured to use the proxy (linux), but I haven't been able to find a configuration file for the AppDynamics controller. Any help is appreciated.

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

$
0
0

Hi Arun,

 

Thanks for your response.

 

 

For some reason now we get a different error - even though we haev not affected the metricdata_hour_agg_app table

 

 

 

[#|2015-10-01T15:26:00.876+0000|SEVERE|glassfish3.1.2|com.singularity.ee.controller.beans.agent.db.PerfDataPartitionPurge|_ThreadID=1;_ThreadName=Thread-5;|PURGING FAILED TO FINISH: ALTER TABLE metricdata_hour_agg_app REORGANIZE PARTITION PARTMAX INTO (   PARTITION PART16720 VALUES LESS THAN (24076800),   PARTITION PARTMAX VALUES LESS THAN MAXVALUE)
java.sql.SQLException: Duplicate partition name PART16720
    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:443)
    at com.singularity.ee.controller.beans.agent.db.PerfDataPartitionPurge.purgePartitionsForShard(PerfDataPartitionPurge.java:296)
    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)
    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.GeneratedMethodAccessor97.invoke(Unknown Source)

 

 

Controller fails to start due to this error.

 

Any thoughts on this?

 

Thanks,

Claudiu


JAVA_VM="-client" possibly incorrect

$
0
0

AppD 4.04 on jdk1.7 reports, under the JVM tab, Environment Properties, JAVA_VM="-client". Adding the switch "-server" to the JVM args has no effect. The switch "-server" is omitted in the  "JVM Startup Options" reported by AppD.

 

Under "JVM System Options", java.vm.info="mixed mode". How can I be sure that the server is running in server mode?

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

$
0
0

Hi,

 

Small correction on my previous post. Controller starts now and the 3 hour metric are working fine.

 

The only thing is the partition error we gent during the controller restart.

 

Thanks,

CLaudiu

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

$
0
0

Hi Claudiu,

 

Glad to hear that news from you finally, For new error lets recreate the table and hope this resolves the recent error as well(attached querry recreate table script, truncate and drop and create one )

Attaching the Java Agent to a Running JVM Process

$
0
0

[root@netflow lib]# java -Xbootclasspath/a:/usr/java/jdk1.8.0_60/lib/tools.jar -jar /opt/appdyn/javaagent.jar 11692
Attaching to VM [11692]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:494)
Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:208)
... 5 more

Re: Attaching the Java Agent to a Running JVM Process

Viewing all 1667 articles
Browse latest View live


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