29 Nov 2019 10:47 PM - last edited on 27 Apr 2021 12:23 PM by MaciejNeumann
Hello
We are trying to monitor an Android app with oneagent, and after some testing, Dynatrace is not showing any user action for this app.
However, even if encrypted, tcpdump shows network traffic exchanged between the mobile phone and the cluster active gate endpoint IP.
In this situation, the troubleshooting instructions from Dynatrace manuals, recommend to test this url:
https://<psg-url>:<port>/mbeacon/<environment id>?type=m&p=<app id>
https://<Active gate IP>:9999/mbeacon/9f06b27f-7116-47d6-8165-15826479ed49?type=m&app=567f5551-c41e-4ffe-96da-79206e6e18b2
that shows this response:
type=m&cp=0
this mean the data collection is disabled for this app (the response contains the string; cp=0).
How can I enable the data collection ? Please consider that the mobile application in Dynatrace is still enabled (monitoring ON).
Thanks
Antonello
Solved! Go to Solution.
30 Nov 2019 11:07 AM
Did you have configured ActiveGate as Entry Point for beacons data in application configuration? You can switch it there to accept beacons on extra endpoint on API (if it is monitored by OneAgent). Maybe someone has changed it?
Sebastian
30 Nov 2019 03:13 PM
Hi Sebastian
this is how the mobile application is configured, so it send data to Cluster Active gate:
The cluster Active gate has this endpoint configuration:
This the result when I browse the beacon url:
and seems the data collection is disabled, the appid and enviroment id in beacon url are from the app definition instruction for monitoring the android app
please let me know if I miss something.
thanks
01 Dec 2019 10:25 AM
cp=0 means as well that application id is unknown. Are you sure that you have proper application Id in url?
Sebastian
02 Dec 2019 08:51 AM
HI Sebastian
I've got the appid from the application definition in Dynatrace, this is the screenshot:
is this right?
Thanks
Antonello
02 Dec 2019 09:45 AM
it seems to be ok. Open support ticket then, may be best option to resolve your issue.
Sebastian