• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Emil Z. · Sep 04, 2017 at 10:06 AM · agent 7.0 appmon 7

How to setup Webserver Agent for MacOS 64Bit on Apache/PHP (MAMP)

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

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Emil Z. · Sep 08, 2017 at 09:29 AM

Ok, good to know. Moved webserver to a Windows VM so everything fine.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Daniel K. · Sep 08, 2017 at 08:48 AM

I'm sorry to say that there are no webserver agents for OSX available at this time. The link on the free trial is wrong. I will take care that this gets fixed.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

Join the conversation!

First steps in the forum
Community User Guide

LIVE WEBINAR

"Power Demo: Software Intelligence for Cloud Infrastructure"


DECEMBER 12, 10:00 AM GMT / 2:00 PM ET

Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

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

Live webinar: Ensuring Digital Business Availability with Dynatrace

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

Live webinar: Ensuring Digital Business Availability with Dynatrace

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

Follow this Question

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

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

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api errors dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java browser agent community user guide hybris javascript appmon sensors good to know search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow diagnostics user session monitoring unique users continuous delivery configuration alerting NGINX splitting business transaction client 6.3 installation chart database scheduler apache mobileapp RUM php dashlet azure purepath plugins agent 7.1 appmonsaas messagebroker nodejs 6.2 incidents android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A