For a demo I’m building I want to use AppMon Webserver agent on Apache/PHP (MAMP) on Mac
At https://community.dynatrace.com/community/display/EVAL/Step+3+-+Connect+Agent+to+Dynatrace point 7 I downloaded Webserver Agent for MacOS 64Bit from https://files.dynatrace.com/downloads/appmon/freetrial/dynatrace-agent-darwin-x86-64.jar
After installing with java –jar dynatrace-agent-darwin-x86-64.jar I have dynatrace-7.0 folder with following folders:
agent
init.d -> empty
log -> empty
folder agent contains:
conf -> contains dthostagent.ini, does *not* contain dtwsagent.ini
downloads -> empty
lib64 -> contains dthostagent, libdtagent.dylib and libdtagentcore.dylib
I created dtwsagent.ini in conf folder with Name and Server parameters:
# The name of the web server agent (used for agent mapping on the dynaTrace Server).
Name dtwsagent
# The address of the dynaTrace Collector this agent should connect to.
# The address is of the form host:port, e.g. exampleserver:9998
Server 192.168.1.53
Add module to httpd.conf and php.ini:
LoadModule dtagent_module /Applications/dynatrace-7.0/agent/lib64/libdtagent.dylib
extension=/Applications/dynatrace-7.0/agent/lib64/libdtagent.dylib
There is no webserver agent service files/script to start in this download?
Restart Apache anyway, gives below log file:
2017-09-04 01:09:14 [a1b5ec3f] info[native] Loading collector peer list from /Applications/dynatrace-7.0/agent/conf/collectorlist.dtwsagent
2017-09-04 01:09:14 [a1b5ec3f] info[native] 0 entries loaded
2017-09-04 01:09:14 [a1b5ec3f] info[native] Dynatrace Bootstrap Agent 7.0.2.1010
2017-09-04 01:09:14 [a1b5ec3f] info[native] Could not read persisted endpoint urls: No such file or directory
2017-09-04 01:09:14 [a1b5ec3f] info[native] Using /Applications/dynatrace-7.0 as Agent storage
2017-09-04 01:09:14 [a1b5ec3f] info[native] Log file is /Applications/dynatrace-7.0/log/dt_dtwsagent_bootstrap_31688.0.log
2017-09-04 01:09:14 [a1b5ec3f] info[native] Trying to connect to Collector for up to 5 seconds
2017-09-04 01:09:14 [a1b5ec3f] info[native] Connected to Collector 192.168.1.53:9998
2017-09-04 01:09:14 [a1b5ec3f] info[native] Handshake with Collector (7.0.2.1010) successful
2017-09-04 01:09:14 [a1b5ec3f] severe[native] Server/Collector is unable to send requested Agent
2017-09-04 01:09:14 [a1b5ec3f] info[native] Checking availability of binary of last used version of agent dtwsagent (darwin-x86-64)
2017-09-04 01:09:14 [a1b5ec3f] info[native] Could not read persisted agent binary path: No such file or directory
2017-09-04 01:09:14 [a1b5ec3f] info[native] Agent binary not found. Looking for latest local agent binary.
2017-09-04 01:09:14 [a1b5ec3f] severe[native] No valid agent binary found!
2017-09-04 01:09:14 [a1b5ec3f] severe[native] bootstrap: Failed to load agent: No such file or directory
So process does not get instrumented.
Am I missing something in the setup, should I setup webserver agent for Mac in a different way? Download for Mac is small compared to webserver agent download for Windows / Linux. Does it include all necessary files?
Regards,
Emil
DECEMBER 12, 10:00 AM GMT / 2:00 PM ET
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Agents instrumentation got disabled frequently 5 Answers
How to monitor asynchronous External API call with non http based protocol? 1 Answer
How to create a mapping for an agent with a space 2 Answers
is possible monitoring docker container (with apache) with one-agent for Appmon (non dockerized)? 0 Answers
Is it possible to co-exist AppMon agent with CA Wily in the same application? 3 Answers