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

Re: Scripts for Browser Synthetic Monitoring

$
0
0

Hi,

 

I am wondering if the script is unable to find a element by id or something else. because the script looks quite simple and stright, unless its stuck unable to execute a statement it should not take long..

 

Also, I wonder if you have checked the error log within AppDynamics controller? (USer Experiance > Sessions > open a failed script from the list > Show script output)

 

Alternatively, have you tried to execute the scipt outside of AppDynamics? like say Firfox..


Application metric data is not populating in UI

$
0
0

Application metric data is not populating in UI

Through POJO entry identify end to end transaction?

$
0
0

Hi Team,

 

We are working on one application which is having 2 part .One is UI (USER INTERFACE) and other is Batch. Our problem is we want to create a POJO entry in business transaction that represent complete transaction end to end .How whole flow work for this application is

 

Batch application starts ->Communicate to Web Service ->Communicate to Servlet -> Final Result goes to User Interface Application

 

Our doubt , Is there are some scenario to create this kind of POJO entry in Business transaction which show end to end transaction ?

 

Thanks ,

Ganesan

Re: AppDynamics displays blank page

$
0
0

The reason was my trial period has expired. But even after repalcing the old license file with the new one that the AppDynamics team had given me, I still face the same problem. I stopped all the AppDynamics windows services and restarted them after replacement. I, even restarted my machine. What could be the trouble?

Re: AppDynamics displays blank page

$
0
0
t_aruns4, glad you verified that the license is all sorted out etc. The blank page when hitting the Controller URL (https://host:port/Controller) could be related to the browser side of things as well. Please note that AppDynamics Controller UI depends on Flash. If for any reason, your browser is unable to provide a Flash runtime environment, then there is a good chance the UI will not be as you'd expect. See https://docs.appdynamics.com/display/PRO42/Using+the+Controller+UI for details around the Browser side reqmts. Suggest you try accessing the URL from a totally different machine / browser combination to see if that works... Kindly post back if that still didn't help

Re: Unable to open socket file: target process not responding or HotSpot VM not loaded

$
0
0

Vishram, it sounds like the javaagent attach is failing due to privileges. Are you running the command line as a user with equal or higher privileges than the process you are trying to attach / monitor? That's what I'd suggest looking...

Re: PHP agent - proxy ctl dir - catch 22

$
0
0

I came to the conclusion that in order to combine web and cli instrumentation, I had to disable automatic launching and instead start a proxy myself.

 

The simplest way to get in shape appear to be with the provided installation script and a few magic arguments. Specifying the proxy communication/proxy control directory (perhaps an idea to unify the terminology?)  with --proxy-ctrl-dir takes care of the php configuration as well as the proxy auto start.

 

With --enable-cli and  --enable-cli-long-running code is added to instrument php run from the command line

 

--- which also means that a misconfigured php-agent translates to broken php. Very incovenient if that same php also happens to drive your automation inside a container or jail. Not to worry, this time everything should work nicely.

 

 

# This first line swill sneak deploy files into standard places for CentOS/RHEL/OL without running any scriptlets
# Good for deploying inside a jailed environment or to sanitize the remains a failed configuratoin attempt
[root@appnode01 ~] # rpm -ihv --root /srv/app-root --noscripts --force appdynamics-php-agent-4.2.3.1-1.x86_64.rpm

[root@appnode01 ~] # chroot /srv/app-root bash-3.2# mkdir -p /var/run/appdynamics ; chown owner:group /var/run/appdynamics ;  chmod 0770 /var/run/appdynamics  bash-3.2# chown -R owner:group /usr/lib/appdynamics-php5 ; cd /usr/lib/appdynamics-php5 bash-3.2# ./install.sh -a account@access_key -p /usr/local/app/php/bin --ssl --enable-cli --enable-cli-long-running \
--proxy-ctrl-dir=/var/run/appdynamics  account.saas.appdynamics.com 443 MyApplication AppNode appnode01.lab.company.com

 

 

With that in place, the proxy can be started with something like

 

[root@appnode01 ~] # screen -S proxy -m -d chroot /srv/app-root \ 
/usr/bin/sudo -u owner /usr/lib/appdynamics-php5/proxy/runProxy /var/run/appdynamics /usr/lib/appdynamics-php5/logs

 

At which point both web and cli code should be instrumented and happily reporting to the controller through agent and proxy, and in my case, with all components well seated inside the jail.

Re: Through POJO entry identify end to end transaction?

$
0
0

Hi Team,

 

Please help us to resolve this issue. Will try to explain in better way there are many call in which we can see asynchrous activity so is there any way we can modify and reach to exact class and method responsible for those asynchrous call through POJO entry ?

 

Async Activity.png

Regards,

 

Ganesan


Re: AppDynamics displays blank page

$
0
0

I had tried on different browser/machine combinations. Still doesn't work.

Installing Appdynamics

$
0
0

I am trying to setup Appdynamics on our server and I have downloaded the machine agent on the server, but when I try to start the server I am getting this error in catalina.out


"Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
Failed to find Premain-Class manifest attribute in /jirabin/atlassian-jira-6.4.6-standalone/appdynamics/machineagent.jar
Error occurred during initialization of VM
agent library failed to init: instrument"

 

Can you please help me resolve this

Re: db Agent throws SqlSyntaxErrorException

$
0
0

siegfried, sorry for the late response. is it possible that you(the DBAgent_User) doen't have EXECUTE permissions on MON_GET_DATABASE? That DB2 provided (built-in) routine should work in 10.1.x as well, as far as I can tell. 

See http://www.ibm.com/support/knowledgecenter/SSEPGG_10.5.0/com.ibm.db2.luw.sql.rtn.doc/doc/r0060769.html

 

To confirm this is only a Permissions / Privilege issue and that the routine itself does exist, you can run the following (as DB2 admin)

select funcname from syscat.functions where funcschema='SYSPROC'

 

If that lists MON_GET_DATABASE, then we can conclude that the missing permissions for your user is the likely cause of the failure.. Hope that helps

Re: AppDynamics displays blank page

$
0
0

t_aruns4.. hmm, in that case we may have to investigate this closely. I'm not sure if you want to upload the Controller logs etc onto the forum(assuming you are doing this trial on-premise). If so, can we take this troubleshooting into a ticket? Pls email help@appdynamics.com with the details. You are welcome to copy me hari.subramaniam@appdynamics.com and we will see what's going wrong and why the Controller UI is showing up blank.

 

One other thing to try would be to see if the admin page shows up. 

http(s)://<hostname>:<port>/controller/admin.jsp

 

 

To eliminate any port-blocking or such network level issues, you can try this from your desktop command line

 

telnet <controllerhost> 8090 

(assuming you've left the default http port at 8090. or use the one that you've configured the Controller Appserver to listen on)

 

Confident, one of those steps should yield us some clues.. 

Re: Installing Appdynamics

$
0
0

Machine agent has nothing to do with app server you are running. It basically monitors the hardware metrics related to your environment.You can start a separate command prompt/terminal and start machine agent (" java -jar machineagent.jar").

 

Also refer to the documentation and find the OS specific information for your environment:

https://docs.appdynamics.com/display/PRO42/Install+the+Standalone+Machine+Agent

https://docs.appdynamics.com/display/PRO42/Start+and+Stop+the+Standalone+Machine+Agent

Re: db Agent throws SqlSyntaxErrorException

$
0
0

Hello Hari,

 

thank you for your response. Sadly the command you send me didn't list MON_GET_DATABASE. This function is not existing. Is it possible to add this afterwards?

 

Best regards

 

//EDIT: It's working now...I feel so stupid. I used the standart command to start the agent: java -jar <direction>/db-agent.jar

 

With the command java -Ddbagent.name='Scarborough Network Database Agent' -XX:+HeapDumpOnOutOfMemoryError -XX:OnOutOfMemoryError="kill -9 %p" -jar <db_agent_home>/db-agent.jar from the guide solved the problem.

 

//EDIT2: Ok, it's still not working, same issue. I just forgot to change in my db-collector settings the agent name I set with the parameter. Quick update though, I activated the machine monitoring and I get CPU an memory usage.

(.net) OWIN stand alone application


Re: Through POJO entry identify end to end transaction?

$
0
0

I must confess that I'm not certain that I understand your question completely, but I will try to answer them.

 

> Batch application starts ->Communicate to Web Service ->Communicate to Servlet -> Final Result goes to User Interface Application

 

Out of the box (no configuration required), I would expect that AppDynamics would discover this transaction at the Web Service, and provide visibility like this:

Web Service ->Communicate to Servlet -> Final Result goes to User Interface Application

 

If you add a POJO Transaction Detection rule in the Java method that begins the Batch processes, you should see the entire execution path:

Batch application starts ->Communicate to Web Service ->Communicate to Servlet -> Final Result goes to User Interface Application

 

In your screenshot, if you right click the highlighted method and select "Expand All", the Call Graph will expand to expose the "exact class and method responsible for [the] asynchrous call". You should be able to drill down from the "Async Activity" pop up dialog to the downstream thread.

 

Regards,

Brian Wheeldon

couldn't attach Java Agent to JVMs running on SunOS

$
0
0

Dears,

 

when i am trying to add below info to JVM start Script i got below Error Plesae advise how can i fix this issue : 

 

part of script that start  PROCESS=${JAVA_HOME}"java -d64 -cp "${CLASSPATH}" "${JAVA}" "${arg} 

 

the script that i tried to run : ${JAVA_HOME}"java -d64 -cp "${CLASSPATH}" "${JAVA}" "${arg} -javaagent:*******/javaagent.jar -Dappdynamics.controll

er.hostName=***** -Dappdynamics.controller.port=8090 -Dappdynamics.agent.applicationName=***** -Dappdynamics.agent.tierName=Inv

entory -Dappdynamics.agent.nodeName=***** -Dappdynamics.agent.accountAccessKey=**** 

 

Erros Message that i got : -javaagent:/export/home/wsms/POC/javaagent.jar: No such file or directory

 

 

How to except these 2 errors?

$
0
0

Hi,

 

I want to ignore these 2 errors by configuring like below however fail, still receving aelrts. Kindly advice the correct setup.

 

Market setting error

 

String error

Re: Java agent not getting initialized

$
0
0

Hi,
link not able to open,is that broken or removed?

User administration

$
0
0

How to provide a user write access to few custom dahboard without having write access to other tier.

Viewing all 1667 articles
Browse latest View live


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