Can someone explain to me the difference between average response time vs average wait time in the metric browser for a BT? Also does anyone know the measurement of Average request size? Is it in bytes? kb? mb?
Metric Browser
Can't get data using docker
Hello everybody!
I'm trying to use appdynamics in my docker container. I use node 4.4.0 and appdynamics agent version 4.1.10 with alpine docker image. When I use my app out of container, appdynamics recognize my app, but not inside.
process-0.json log from docker
{ "appName": "xxxxxxxx", "tierName": "xxxxxxxxx", "nodeName": "process-0", "controllerHost": "xxxxxxxxxxxxxxxxxxx", "controllerPort": 443, "sslEnabled": true, "accountName": "xxxxxxxxxxxxxx", "accountAccessKey": "xxxxxxxxxxxxxxx", "logs": { "out": [ { "msg": "agent.tmpDir = \"/tmp/appd/cca4cd7358baae2927a31d30602e9bdb\"", "t": "14-06-2016 14:38:35.852" }, { "msg": "agent.proxyCtrlDir = \"/tmp/appd/cca4cd7358baae2927a31d30602e9bdb/proxy/c\"", "t": "14-06-2016 14:38:35.854" }, { "msg": "Loaded native extention.", "t": "14-06-2016 14:38:35.857" }, { "msg": "launching proxy from master node 0", "t": "14-06-2016 14:38:35.859" }, { "msg": "ProcessScanner - snapshotCountResetPeriodMS: 60000", "t": "14-06-2016 14:38:35.876" }, { "msg": "ProcessScanner - autoSnapshotDurationSeconds: 10", "t": "14-06-2016 14:38:35.876" }, { "msg": "found cluster module", "t": "14-06-2016 14:38:35.886" }, { "msg": "found fs module", "t": "14-06-2016 14:38:35.887" }, { "msg": "found http module", "t": "14-06-2016 14:38:35.895" }, { "msg": "found https module", "t": "14-06-2016 14:38:35.902" }, { "msg": "found mongodb module", "t": "14-06-2016 14:38:36.055" }, { "msg": "found net module", "t": "14-06-2016 14:38:36.055" }, { "msg": "proxyArgs = [\n \"-d\",\n \"/install/node_modules/appdynamics/node_modules/appdynamics-proxy/proxy\",\n "t": "14-06-2016 14:38:37.355" }, { "msg": "cmdLine = /install/node_modules/appdynamics/node_modules/appdynamics-proxy/proxy/runProxy -d /install/no "t": "14-06-2016 14:38:37.355" }, { "msg": "Proxy logging to: /tmp/appd/cca4cd7358baae2927a31d30602e9bdb/proxy/l", "t": "14-06-2016 14:38:37.360" }, { "msg": "Proxy spawned!", "t": "14-06-2016 14:38:37.360" }, { "msg": "starting control socket..", "t": "14-06-2016 14:38:40.869" } ], "err": [] } }
UPDATE:
With debug mode I have it too
2016-07-14T18:44:58.448684678Z appdynamics v4.1.10.0 (14-06-2016 18:44:58.448): Proxy spawned! 2016-07-14T18:45:08.439100696Z appdynamics v4.1.10.0 (14-06-2016 18:45:08.438): attempting to re-launch proxy... 2016-07-14T18:45:08.439155589Z appdynamics v4.1.10.0 (14-06-2016 18:45:08.438): launching proxy from master node 0 2016-07-14T18:45:08.441094864Z appdynamics v4.1.10.0 (14-06-2016 18:45:08.438): ERROR: no response on control socket
Need to pass custom value that needs to display in dash board
Hi Team,
I have recently enabled AppDynamics End User Monitering for our application. It measures all the ajax calls and page requests and captures parameters like Type, Name, iFrame Url etc.. It displays in Dashboard or list view under Page & Ajax requests..
I would like to find a way to identify which user makes this call. In our application we have login screen to allow the user to login. I would like to capture some parameters/information like unique User GUID specific to user, so that we can identify which user makes the call.
How can I pass custom parameter to AppDynamics controller from UI and capture it and display in the Pages&Ajax requests?
Please help.
Data Collector - How to see the Request in WCF Method
I have set up a Data Collector for a slow WCF Method, I am able to see the response from the service call, but I am also interested in seeing the original request data.
Do you use Chef for deployments?
I thought it would be a fun project to automate Java agent deployment and upgrade with Chef. Is it a valuable excercise or a little bang for my buck? Thanks.
Yes, AppD has example that refers you here: https://github.com/edmunds/cookbook-appdynamics
Re: Do you use Chef for deployments?
Re: DB agent gets stopped - expiration of Max Inactivity Period [1800000] ms
I am experiencing the same error on an Oracle database agent. Did you ever find a resolution to this issue?
TypeError with Python Agent for Django with SQLAlchemy and Postgres
Hello
I'm trying out Appdynamics with a Django Application, which uses SQLAlchemy.
When accessing the page, which uses SQLAlchemy ORM for accessing a custom database a TypeError is raised:
Exception Type: | TypeError |
Exception Value: | argument 2 must be a connection, cursor or None |
Exception Location: | /home/aaa/virtualenvs/bbb/lib/python2.7/site-packages/psycopg2/extras.py in register_uuid, line 487 |
Python Executable: | /home/aaa/virtualenvs/bbb/bin/python |
Python Version: | 2.7.5 |
I'm using following versions:
appdynamics==4.1.10.5
appdynamics-bindeps-linux-x64==4.1.10.5
appdynamics-proxysupport-linux-x64==1.8.0.51
psycopg2==2.6.2
SQLAlchemy==1.1.0b1
Full traceback can be found here: http://pastebin.com/P4xBQtm5
When starting the application without pyagent it works. There must be some incompatibility with appdynamics and sqlalchemy. Did anybody encounter this problem and has a solution?
Kind regards,
Philip
Business Transaction Discovery Problem
Hello Everyone!
I'm testing a business transaction monitoring functionality on my laboratory environment. I developed 2 Java JMS Application. The first application record messages in the queue IBM MQ, and the second read messages. Java agents running with applications don’t detect JMS Transactions. BusinessTransaction log is clear.
“find-entry-points” = true
Agent’s log in attachments
Re: Do you use Chef for deployments?
Thanks, Frank. Are they officially supported?
Extension Data Not showing up in Metric Browser
Greetings Experts,
Here is my question, i have configured a monitong extension and placed it under directory: $APPDYNAMICS_HOME/monitors/subdirectory/ for the Machine Agent. Restarted the Machine Agent, but it is not coming up in the Metric Browser. Script runs perfectly when executed individually. Also, where i shoudl be checking it in the Metric Browser. In the Metric Browser tree there is no new branch created. and also i am not able to see it in Application Infrastructure Performance.
Also i would like to add the Configuration Complexity:
1 Application: 1 Tier: 4 Nodes
I am testing it for only 1 node so far but i am not able to see it in the Metric Browser.
Script:
=====================================
#!/bin/sh
STATUS=`/***PATH*****/opmn/bin/opmnctl status | grep HTTP_Server | cut -d \| -f 4 | xargs`
if [ "$STATUS" == "Alive" ]
then
STATUS=1
else
STATUS=0
fi
echo "name=Service|Cataegories|OHS_Service,value="$STATUS
=======================================
more monitor.xml
==============================
<monitor>
<name>MyMonitors</name>
<type>managed</type>
<description>Monitor OHS Service </description>
<monitor-configuration>
</monitor-configuration>
<monitor-run-task>
<execution-style>continuous</execution-style>
<name>Run</name>
<type>executable</type>
<task-arguments>
</task-arguments>
<executable-task>
<type>file</type>
<file>check_OHS_Service.sh</file>
</executable-task>
</monitor-run-task>
</monitor>
======================================================
Error Logs:
file:/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/monitor.xml
[system-thread-0] 17 Jul 2016 06:09:39,800 INFO MonitorConfigReader - os name [linux] version [2.6.18-404.el5]
[system-thread-0] 17 Jul 2016 06:09:39,801 INFO NodeMonitorManager - Initializing managed monitor [OHSMonitor]
[system-thread-0] 17 Jul 2016 06:09:39,806 INFO ManagedMonitorDelegate - Initializing managed monitor [MyMonitors]
[system-thread-0] 17 Jul 2016 06:09:39,807 INFO ManagedMonitorDelegate - Executing managed monitor [MyMonitors], task name [Run]
[system-thread-0] 17 Jul 2016 06:09:39,807 INFO ManagedMonitorDelegate - Task [Run] for monitor [MyMonitors] is continuous
[system-thread-0] 17 Jul 2016 06:09:39,817 INFO ExecTask - Initializing process for exec task
[system-thread-0] 17 Jul 2016 06:09:39,817 INFO ExecTask - Running executable script on disk [check_OHS_Service.sh]
[system-thread-0] 17 Jul 2016 06:09:39,817 INFO ExecTask - Executing script [/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]
[system-thread-0] 17 Jul 2016 06:09:39,867 INFO ExecTask - No task arguments to add
[system-thread-0] 17 Jul 2016 06:09:39,868 INFO ExecTask - Initializing process builder with command list[/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]
[system-thread-0] 17 Jul 2016 06:09:39,868 INFO ExecTask - Initializing process builder with enviornment variables {}
[system-thread-0] 17 Jul 2016 06:09:39,869 INFO ContinuousTaskMonitor - Continuous Task [MyMonitors] Started
[system-thread-0] 17 Jul 2016 06:09:39,869 INFO MonitorConfigReader - Reading monitor config
[system-thread-0] 17 Jul 2016 06:09:39,873 INFO SystemAgent - Set up agent monitor manager
[system-thread-0] 17 Jul 2016 06:09:39,874 INFO SystemAgent - Orchestration is disabled - disabling one-way agent transport. The agent will not be able to execute workflow tasks.
[system-thread-0] 17 Jul 2016 06:09:39,878 INFO SystemAgentConfigManager - Scheduling configuration refresh at an interval of 60 seconds
[system-thread-0] 17 Jul 2016 06:09:39,879 INFO SystemAgentConfigManager - Configuration refresh task interval is 60 seconds
[system-thread-0] 17 Jul 2016 06:09:39,880 INFO SystemAgent - Configuration manager successfully configured
[system-thread-0] 17 Jul 2016 06:09:39,881 INFO RunbookHandler - Runbook Operation Execution is : [enabled].
[system-thread-0] 17 Jul 2016 06:09:39,882 INFO SystemAgent - Started AppDynamics Machine Agent Successfully.
[Worker-1] 17 Jul 2016 06:09:39,889 INFO ExecTask - Running Executable Command [[/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]]
[Worker-1] 17 Jul 2016 06:09:40,020 INFO ExecTask - Forcing stop for Executable Command [[/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]]
[Worker-1] 17 Jul 2016 06:09:40,020 INFO MonitorStreamConsumer - Stopping monitored process
[Agent-Monitor-Scheduler-1] 17 Jul 2016 06:10:09,788 WARN ContinuousTaskMonitor - Continuous Task [MyMonitors] stopped, restarting..
[Agent-Monitor-Scheduler-1] 17 Jul 2016 06:10:09,788 INFO ContinuousTaskMonitor - Continuous Task [MyMonitors] Restarted
[Worker-6] 17 Jul 2016 06:10:09,788 INFO ExecTask - Initializing process for exec task
[Worker-6] 17 Jul 2016 06:10:09,789 INFO ExecTask - Running executable script on disk [check_OHS_Service.sh]
[Worker-6] 17 Jul 2016 06:10:09,789 INFO ExecTask - Executing script [/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]
[Worker-6] 17 Jul 2016 06:10:09,820 INFO ExecTask - No task arguments to add
[Worker-6] 17 Jul 2016 06:10:09,821 INFO ExecTask - Initializing process builder with command list[/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]
[Worker-6] 17 Jul 2016 06:10:09,821 INFO ExecTask - Initializing process builder with enviornment variables {}
[Worker-6] 17 Jul 2016 06:10:09,821 INFO ExecTask - Running Executable Command [[/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]]
[Worker-6] 17 Jul 2016 06:10:09,997 INFO ExecTask - Forcing stop for Executable Command [[/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]]
[Worker-6] 17 Jul 2016 06:10:09,997 INFO MonitorStreamConsumer - Stopping monitored process
[extension-scheduler-pool-1] 17 Jul 2016 06:10:10,100 WARN ErrorStreamConsumer - ignoring error line:[event-type=MACHINE_AGENT_LOG, severity=WARN, message=bios_info gather returned empty string, skip parsing]
[Agent-Monitor-Scheduler-1] 17 Jul 2016 06:10:39,772 WARN ContinuousTaskMonitor - Continuous Task [MyMonitors] stopped, restarting..
[Agent-Monitor-Scheduler-1] 17 Jul 2016 06:10:39,772 INFO ContinuousTaskMonitor - Continuous Task [MyMonitors] Restarted
[Worker-3] 17 Jul 2016 06:10:39,772 INFO ExecTask - Initializing process for exec task
[Worker-3] 17 Jul 2016 06:10:39,772 INFO ExecTask - Running executable script on disk [check_OHS_Service.sh]
[Worker-3] 17 Jul 2016 06:10:39,773 INFO ExecTask - Executing script [/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]
[Worker-3] 17 Jul 2016 06:10:39,776 INFO ExecTask - No task arguments to add
[Worker-3] 17 Jul 2016 06:10:39,776 INFO ExecTask - Initializing process builder with command list[/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]
[Worker-3] 17 Jul 2016 06:10:39,776 INFO ExecTask - Initializing process builder with enviornment variables {}
[Worker-3] 17 Jul 2016 06:10:39,776 INFO ExecTask - Running Executable Command [[/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]]
[Worker-3] 17 Jul 2016 06:10:39,905 INFO ExecTask - Forcing stop for Executable Command [[/cdts/cli/runtimes/appdynamics/machineAgent/machineAgent-4.2.1/monitors/OHSMonitor/check_OHS_Service.sh]]
[Worker-3] 17 Jul 2016 06:10:39,906 INFO MonitorStreamConsumer - Stopping monitored process
[extension-scheduler-pool-3] 17 Jul 2016 06:10:40,398 WARN ErrorStreamConsumer - ignoring error line:[event-type=MACHINE_AGENT_LOG, severity=WARN, message=bios_info gather returned empty string, skip parsing]
Thanks & Regards,
Varun
Re: DB agent gets stopped - expiration of Max Inactivity Period [1800000] ms
mysql DB agent Issue
Hi,
I have installed the mysql 5.5 DB agent in AppD 4.2.
But I am getting the below mentioned error after starting the DB Agent from Teminal.
ADBCollector:133 - DB Collector XXX_DB is temporarily disabled.
I will be grateful if somebody can help me to resolve the issue.
Cheers
Jay
Re: 403 on npm install
I am on node 4.4.1 and am installing agent 4.1.10. I get a HTTP 403 error however. This 403 error is coming for all agent versions. What do i need to resolve this ?
Re: Do you use Chef for deployments?
Yes, we officially contribute to them, but they are also open to community improvement.
Re: Extension Data Not showing up in Metric Browser
Hi,
You can find the extension metrics in the Node -->JMX tab--> mbean browser, Here you need to create a new JMX configuration of the metric to view the it metrics brower.
Regards,
Vamshi
Re: Extension Data Not showing up in Metric Browser
Hello Vamshi,
I believe that is in particular to JMX Metrics... I am just wondering what is the issue with what i am trying... looks to be a simple Metrics.
I tried few things:
echo "name=Server|Component:50|Individual Nodes|cli_cdetsqaweb1|Hardware Resources|Service|OHS_Service,value="$STATUS
Didn't worked, instead created 2 sets of Individual Nodes in the Metric browser, overwriting the needed existing hierarchy.
Now i am trying below config:
echo "name=Server|Component:50|Custom Metrics|Service|OHS_Service,value="$STATUS
Will let know on the results.
Thanks & Regards,
Varun
Re: Business Transaction Discovery Problem
I haven't had to fix this specific problem. But, couple things, 1) bConfiguration -> Transaction Detection -> JMS says it will auto-detect for all "incoming" JMS messages. So try and find incoming JMS messages as BT first and 2) I would add the com.ibm... JMS sub-package under Configuration -> Call Graph Settings -> Specific sub-packages / classes from the Excluded Packages to be included in call graphs and see if this helps. com.ibm* is excluded by default.
Can't pass an application name with spaces in it as a system property
On a Linux OS, if you try -Dappdynamics.agent.applicationName="My Application" it fails, if you try -Dappdynamics.agent.applicationName="MyApplication" it works. I've tried + and %20 in place of whitespace character but I just get a new application with a + or %20 in the name. Any guesses?
Re: Could not connect to the controller/invalid response from controller
was this problem ever resolved? Do you know the solution?