Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
06-13-2018 03:35 AM - edited 06-13-2018 04:12 AM
I am running my application on python with uWSGI with Emperor: wsgi-file Directive, but the connection to controller in not happening ? Anyone have any insite on it.
This is my uWSGI file :
[uwsgi]
http-socket = :9090
wsgi-file = /app/test_service/jyoti_test.py
env = APPD_CONFIG_FILE='/etc/appdynamics.cfg'
env = APPD_WSGI_SCRIPT_ALIAS='/app/test_service/jyoti_test.py'
env = APPD_WSGI_CALLABLE_OBJECT='perf962'
and the I am starting up the uWSGI server by "uwsgi --ini test.ini"
And the appdynamics.cfg file is as below
[agent]
app = perf962
tier = perfTest962
node = node 369d
[controller]
host = test.saas.appdynamics.com
port = 443
ssl = (on)
account = my-test
accesskey = 1vb1231b12lo
[log]
level = debug
debugging = on
I am starting the pyagent by "pyagent proxy start"
06-13-2018 04:00 AM - edited 06-13-2018 04:03 AM
Hi Jmallick,
Please try starting your proxy with 'appdynamic.cfg' file and apply some load for 2-3 mins.
ie
"pyagent proxy start -c /etc/appdynamics.cfg -d"
Reference; https://docs.appdynamics.com/display/PRO44/Start+the+Python+Agent+Proxy+Manually
Let us know if this did not solve the issue.
Regards!
Arun G
06-13-2018 04:02 AM
06-13-2018 04:04 AM - edited 06-13-2018 04:05 AM
is there anything to worry about the following highlighted message
root@ubuntu:/home/jmallick# pyagent proxy start -c /etc/appdynamics.cfg -d
2018-06-13 04:03:23,814 [WARNING] appdynamics.proxy.watchdog <27845>: Defunct proxy pid (27377) found; starting over
2018-06-13 04:03:23,816 [INFO] appdynamics.proxy.watchdog <27845>: Started watchdog with pid=27845
2018-06-13 04:03:23,817 [WARNING] appdynamics.proxy.watchdog <27845>: Found defunct proxy pid file with pid=27378
2018-06-13 04:03:23,817 [INFO] appdynamics.proxy.watchdog <27845>: Starting proxy: /usr/local/lib/python2.7/dist-packages/appdynamics_bindeps/proxy/runProxy -j /usr/local/lib/python2.7/dist-packages/appdynamics_proxysupport -d /usr/local/lib/python2.7/dist-packages/appdynamics_bindeps/proxy -r /tmp/appd/run /tmp/appd/run/comm /tmp/appd/logs
root@ubuntu:/home/jmallick# Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=120m; support was removed in 8.0
Install Directory resolved to[/usr/local/lib/python2.7/dist-packages/appdynamics_bindeps/proxy]
Agent Logging Directory [/tmp/appd/logs]
Logs Directory resolved to[/tmp/appd/logs]
04:03:24,134 INFO [main] ProxyControlEntryPoint - ProxyControl - init
04:03:24,134 INFO [main] ProxyControlEntryPoint - comm dir set to: /tmp/appd/run/comm
04:03:24,140 INFO [main] ZeroMQControlServer - ipcNodeBaseDir dir set to: /tmp/appd/run/comm/proxy-6671126471242587101
04:03:24,140 INFO [main] ZeroMQControlServer - ZeroMQControlServer - init
04:03:24,152 INFO [main] ZeroMQControlServer - ControlReqRouterSocket started at:ipc:///tmp/appd/run/comm/0
04:03:24,233 INFO [main] ProxyControlEntryPoint - ProxyControl - init completed
04:03:24,233 INFO [main] ProxyControlEntryPoint - Should register node at startup:false
2018-06-13 04:03:24,319 [INFO] appdynamics.proxy.watchdog <27845>: Started proxy with pid=27846
06-13-2018 05:16 AM
Hi Jmallick,
The highlighted one shouldn't be a problem, Looks like proxy is starting fine.
I would be needing the zip of log files. Sharing the way to send it accross in a private message.
Regards!
Arun G
06-13-2018 07:12 AM
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form