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

Re: Can't access Controller-UI


Re: Unable to get AppAgentConfigurationResponse from controller

$
0
0

Hi,

 

- Can you please collect archive of <AppServerAgent_install_dir>/logs folder and attach to this post in addition to logs from machine agent directory and server.log from <Controller_dir>/logs if this is onPremise UI

 

- While you provide above logs , Can you please provide app,tier-name and node-name in <agent_dir>/conf/contorller-info.xml manually and see how it goes after jvm restart?

APM for Java console application

$
0
0

Greetings Community,

    I have a question if it's possible to get a deeper look into standalone console Java application, which is executed via CLI (not within a Jboss container)

 

many thanks,

Irakli

Re: Unable to get AppAgentConfigurationResponse from controller

$
0
0

Here's a zip file that contains my agent and controller logs. And I tried forcing the various controller-info.xml variables directly on the java command line (ie: -Dappdynamics.controller.hostName=x -Dappdynamics.controller.port=x -Dappdynamics.agent.applicationName=x -Dappdynamics.agent.tierName=x -Dappdynamics.agent.nodeName=x) but it's still not working.

Re: APM for Java console application

$
0
0

Hi Irakli,

 

Yes, we instrument at the JVM level. Thus, a standalone application not running in an application server is completely possible to monitor.

 

When you start your application add the -javaagent:<agent_home>/javaagent.jar to you startup script.

 

For example if you application was testapp.jar

 

java -javaagent:/path/to/javaagent.jar -jar testapp.jar

eum-sh script fails

$
0
0

hello, 
i have installed my controller, events-service,platform admin, services (ALL ON SITE) and they're running.

i have also installed eum and enabled in the Controller UI but when i try to run the eum.sh (script) to start the eum-processor it fails with the below message....
what could be the issue here please?

 

 

Using EUM_HOME: /data/app/AppDynamics/EUM/eum-processor
Using EUM_PID: pid.txt
EUM Processor started (PID=20636).
[root@AppDynamic eum-processor]# java.lang.RuntimeException: org.apache.http.conn.HttpHostConnectException: Connect to AppDynamic:9080 [AppDynamic/172.16.2.10] failed: Connection refused
at com.appdynamics.eumcloud.analytics.AnalyticsAccountManager.bulkUpdateAnEventType(AnalyticsAccountManager.java:353)
at com.appdynamics.eumcloud.analytics.AnalyticsAccountManager.bulkUpdateEventTypes(AnalyticsAccountManager.java:275)
at com.appdynamics.eumcloud.EUMProcessorServer.main(EUMProcessorServer.java:228)
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to AppDynamic:9080 [AppDynamic/172.16.2.10] failed: Connection refused
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:140)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
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.eumcloud.analytics.AnalyticsAccountManager.bulkUpdateAnEventType(AnalyticsAccountManager.java:324)
... 2 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72)
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:123)
... 12 more
Error Starting EUM Processor Serverjava.lang.RuntimeException: org.apache.http.conn.HttpHostConnectException: Connect to AppDynamic:9080 [AppDynamic/172.16.2.10] failed: Connection refused

Re: APM for Java console application

$
0
0

Hello Frank,

    Many thanks for your support and apology for noobing :-) I recognize it's same method as for Jboss server.

 

For some reason I cannot "star/mark as answer" using any browser on my system due some JS issue, so I would like to second the mentioned above that your reply resolves my request.

 

Best,

Irakli

 

Re: eum-sh script fails

$
0
0

Hi,

 

- Can you please issue below command and see how it goes with eum scripts again , if not started events service jvm:

shell> cd /data/app/AppDynamics/Controller/bin (change to controller bin directory if this is not the same path)

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

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

 

- Can you provide below command outout if issue persists:

 

shell> ps -ef | grep "java"

shell> netstat -a


Re: Unable to get AppAgentConfigurationResponse from controller

$
0
0

Hi

 

- Can you help to try below steps:


a) define one simple java class say Test.java with main and some thread.sleep in main method

b) now run the agent as follows:
shell> java -Dappdynamics.controller.hostName=appdyn-02.touchtunes.com -Dappdynamics.controller.port=8090 -Dappdynamics.agent.uniqueHostId=g3jab-1800-01_1 -Dappdynamics.agent.applicationName=jukeserver1 -Dappdynamics.agent.tierName=prod1 -Dappdynamics.agent.nodeName=g3jab-1800-01_1 -javaagent:/opt/appdynamics/AppServerAgent/ver4.1.3.1/javaagent.jar Test

 

And see whether agent registered to new app in UI. We see below errors in logs and we understood that you have changes account access key while uploading logs:

 

[Thread-0] 21 Sep 2015 10:18:29,001 INFO XMLConfigManager - XML Agent Account Info Resolver using account access

key [XXX]

[#|2015-09-21T10:19:36.328-0400|SEVERE|glassfish3.1.2|com.appdynamics.AGENT.AGENT_CONFIGURATION|_ThreadID=311;_ThreadName=Thread-5;|Failed handling transaction config request. Machine Id: 0 Node Id: 0 name is not specified|#]

[#|2015-09-21T10:19:42.363-0400|SEVERE|glassfish3.1.2|com.singularity.ee.controller.beans.agent.db.PerfDataUtils|_ThreadID=20403;_ThreadName=Thread-5;|sql query execute on shard failed:
java.sql.SQLException: Failed to read from the .par file


- Can you attach below files if issue persits/opt/appdynamics/AppServerAgent/ver4

 

a) /opt/appdynamics/AppServerAgent/ver4.1.3.1/conf/controller-info.xml and /opt/appdynamics/AppServerAgent/conf/controller-info.xml

 

b) latest agent logs and server.logs

 

Re: eum-sh script fails

$
0
0

[root@appdynamics-evnt-service bin]# ps -ef | grep "java"
root 21860 20241 0 10:05 pts/1 00:00:00 grep java
root 26767 1 0 Sep21 pts/0 00:05:40 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java -Xmx8G -Xms8G -Xss256k -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintClassHistogram -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintPromotionFailure -verbose:gc -XX:GCLogFileSize=256m -XX:NumberOfGCLogFiles=4 -XX:+UseGCLogFileRotation -Xloggc:/data/apps/events-service/logs/events-service-all-gc.log -classpath /data/apps/events-service/lib/* com.appdynamics.analytics.processor.AnalyticsService -y ./conf/events-service-all.yml -p ./conf/events-service-all.properties

 

 

================================================================================================

 

[root@appdynamics-evnt-service bin]# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:zabbix-agent *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:wap-wsp *:* LISTEN
tcp 0 0 *:vrace *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 localhost.localdomain:ipp *:* LISTEN
tcp 0 0 *:glrpc *:* LISTEN
tcp 0 0 *:9081 *:* LISTEN
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51319 ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51320 ESTABLISHED
tcp 0 0 localhost.localdomain:51313 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51316 ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51314 ESTABLISHED
tcp 0 0 localhost.localdomain:51321 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 localhost.localdomain:51317 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51309 ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51313 ESTABLISHED
tcp 0 0 appdynamics-evnt-serv:glrpc AppDynamic:fairview ESTABLISHED
tcp 0 0 localhost.localdomain:51319 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 appdynamics-evnt-serv:glrpc AppDynamic:38199 ESTABLISHED
tcp 0 0 localhost.localdomain:51314 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51311 ESTABLISHED
tcp 0 0 localhost.localdomain:51315 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51310 ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51321 ESTABLISHED
tcp 0 0 localhost.localdomain:51320 localhost.localdomain:vrace ESTABLISHED
tcp 0 1200 appdynamics-evnt-servic:ssh ip-172-16-1-5.ec2.int:60876 ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51312 ESTABLISHED
tcp 0 0 localhost.localdomain:51316 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51317 ESTABLISHED
tcp 0 0 localhost.localdomain:51310 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 localhost.localdomain:51309 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 appdynamics-evnt-servic:ssh ip-172-16-1-5.ec2.int:55008 ESTABLISHED
tcp 0 0 localhost.localdomain:51318 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51318 ESTABLISHED
tcp 0 0 localhost.localdomain:vrace localhost.localdomain:51315 ESTABLISHED
tcp 0 0 localhost.localdomain:51312 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 appdynamics-evnt-serv:glrpc AppDynamic:38184 TIME_WAIT
tcp 0 0 localhost.localdomain:51311 localhost.localdomain:vrace ESTABLISHED
tcp 0 0 *:zabbix-agent *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 localhost:ipp *:* LISTEN
udp 0 0 *:realm-rusd *:*
udp 0 0 *:bootpc *:*
udp 0 0 *:sunrpc *:*
udp 0 0 *:ipp *:*
udp 0 0 appdynamics-evnt-service:ntp *:*
udp 0 0 localhost.localdomain:ntp *:*
udp 0 0 *:ntp *:*
udp 0 0 *:realm-rusd *:*
udp 0 0 *:sunrpc *:*
udp 0 0 fe80::895:2fff:fe49:642b:ntp *:*
udp 0 0 localhost:ntp *:*
udp 0 0 *:ntp *:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 9114 /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 6630 @/com/ubuntu/upstart
unix 2 [ ACC ] STREAM LISTENING 9228 @/var/run/hald/dbus-n7SpJHGvun
unix 2 [ ACC ] STREAM LISTENING 9001 /var/run/rpcbind.sock
unix 2 [ ACC ] STREAM LISTENING 9233 @/var/run/hald/dbus-aGuvZMYaDX
unix 11 [ ] DGRAM 8843 /dev/log
unix 2 [ ] DGRAM 9258 @/org/freedesktop/hal/udev_event
unix 2 [ ] DGRAM 7055 @/org/kernel/udev/udevd
unix 2 [ ACC ] STREAM LISTENING 9176 /var/run/cups/cups.sock
unix 2 [ ] DGRAM 659302
unix 3 [ ] STREAM CONNECTED 656927
unix 3 [ ] STREAM CONNECTED 656926
unix 2 [ ] DGRAM 656923
unix 2 [ ] STREAM CONNECTED 601623
unix 2 [ ] STREAM CONNECTED 601311
unix 2 [ ] DGRAM 574761
unix 3 [ ] STREAM CONNECTED 574714
unix 3 [ ] STREAM CONNECTED 574713
unix 2 [ ] DGRAM 574710
unix 2 [ ] DGRAM 336044
unix 2 [ ] DGRAM 131901
unix 2 [ ] DGRAM 11964
unix 3 [ ] STREAM CONNECTED 10580 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 10579
unix 2 [ ] DGRAM 10313
unix 2 [ ] DGRAM 10096
unix 2 [ ] DGRAM 9531
unix 3 [ ] STREAM CONNECTED 9253 @/var/run/hald/dbus-aGuvZMYaDX
unix 3 [ ] STREAM CONNECTED 9252
unix 3 [ ] STREAM CONNECTED 9230 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 9229
unix 2 [ ] DGRAM 9181
unix 3 [ ] STREAM CONNECTED 9126 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 9125
unix 3 [ ] STREAM CONNECTED 9119
unix 3 [ ] STREAM CONNECTED 9118
unix 3 [ ] STREAM CONNECTED 8642
unix 3 [ ] STREAM CONNECTED 8641
unix 3 [ ] DGRAM 7070
unix 3 [ ] DGRAM 7069

Re: eum-sh script fails

$
0
0

as it stands now the eum.sh script is running but is failing to push any data to the Controller UI
thanks

Re: Unable to get AppAgentConfigurationResponse from controller

$
0
0

I restarted my application with java 7 (jdk1.7.0_75) instead of java 8 (jdk1.8.0_60) and the agent is now pushing data to my controller. But unfortunately I cannot run my application on java 7 so keeping java 7 is not an option. So it look like there is really something wrong with the agent (4.1.3.1 in this case) and/or my application and/or java 8.

 

Also I don't have access to the code and I'm not a programmer so adding some testing class to my application is not really an option. And I also tested the 4.1.1.1 agent and I'm having the same issue. Maybe downgrading to a 3.x agent could fix the problem?

no data available

$
0
0

Hi there........

 

i have an on-site Controller and EUM on the same server.
a events service server on another server and the appserver with the machine agent all successfully configured........... and and my adrum files are successfully uploaded too

 

on my controller UI, i can see my app but i can't see any data.......it keeps spinning with no data available on screen

 

who can help with this?

 

any help will be appreciated.

Re: Unable to get AppAgentConfigurationResponse from controller

$
0
0

I downgraded the agent to version 3.9.3.0 and it's now talking to the controller. I will make some tests to make sure that transactions are being seen inside the controller.

agent installation for jboss 5

$
0
0

Hi guys,

 

I have a trouble with agent installation for jboss 5 performance monitoring. I did everything as documentation says, but nothing receive in SaaS controller. I use trial user. On network layer 443 port is open. Have you any idea? I can give extra information if need.

 

My steps & environment:

CentOS 6.7

java version "1.6.0_36"

jboss 5

------

Agent location /opt/appdyn/ver4.0.7.0/javaagent.jar

Agent integration with Jboss export JAVA_OPTS="$JAVA_OPTS -javaagent:/opt/appdyn/ver4.0.7.0/javaagent.jar"

Restart

 

 

 

Thanks


Re: Unable to get AppAgentConfigurationResponse from controller

Re: eum-sh script fails

$
0
0

Hi,

 

Can you send the events and eum processor logs and controller server.log under /data/app/AppDynamics/Controller//logs path?

Re: no data available

$
0
0

Hi,

 

Can you please send the logs as requested in other request that we are following up? and also the screenshots depicting the issues from UI

Re: agent installation for jboss 5

$
0
0

Hi ,

 

Can you please provide below details for us to assist you:

a) /opt/appdyn/ver4.0.7.0/logs and opt/appdyn/ver4.0.7.0/conf folder archive

b) attach jboss script file you modified for agent config as per docs

c) output of below command:

shell> ps -ef | grep "javaagent"
d) if any errors in jboss logs or on jboss startup with agent attached such console logs as well 

e) screenshot from saas UI and provide saas URL so that we will login from portal 

Re: Error 1603 install .NET Agent

$
0
0

did anyone solve this i have the same issue

Viewing all 1667 articles
Browse latest View live


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