• 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
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Grandy S. · Aug 05, 2013 at 08:16 AM ·

How to monitor Apache?

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
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

6 Replies

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

Answer by Bart V. · Jan 22, 2014 at 02:33 PM

I'm also trying to monitor the Apache webserver with dynaTrace, but when doing this the Apache server is hanging.

I've added this in the http.conf.

LoadModule dtagent_module /appT/apachet1/dynatrace-5.5.0/agent/lib64/libdtagent.so

I can't see any serious problems in the logs. Only "2014-01-22 13:35:24.778643 [256/00000001] warning [native] Web server agent did not start up after 10 seconds. Continuing execution." 

After starting the Apache webserver, the server doesn't respond at all. Has someone an idea what's going wrong?

2014-01-22 13:35:14 info [native] Apache reports revision 2.2.22()
2014-01-22 13:35:14 info [native] Apache reports version string (irrelevant for dtagent)
2014-01-22 13:35:14 info [native] => Detected Apache version 2.2
2014-01-22 13:35:14 info [native] Detected bo variant
2014-01-22 13:35:14 [00000001] info [native] dynaTrace Bootstrap Agent 5.5.0.5226
2014-01-22 13:35:14 [00000001] info [native] Using /appT/apachet1/dynatrace-5.5.0 as Agent storage
2014-01-22 13:35:14 [00000001] info [native] Log file at /appT/apachet1/dynatrace-5.5.0/log/dt_dtagent_bootstrap_242.log
2014-01-22 13:35:14 [00000001] info [native] Trying to connect to localhost:18998 for up to 5 seconds
2014-01-22 13:35:14 [00000001] fine [native] util::SocketConnection::connect() ... start
2014-01-22 13:35:14 [00000001] fine [native] SockAddr of Peer Service: 127.0.0.1:18998
2014-01-22 13:35:14 [00000001] fine [native] util::SocketConnection::connect() ... set socket timeout to 10000000 microseconds
2014-01-22 13:35:14 [00000001] fine [native] Successfully connected to 127.0.0.1:18998 (from local port 55114)
2014-01-22 13:35:14 [00000001] fine [native] util::SocketConnection::connect() ... set socket timeout to 30000000 microseconds
2014-01-22 13:35:14 [00000001] info [native] Connected successfully
2014-01-22 13:35:14 [00000001] info [native] Server requests us to use Agent 5.5.0.5301 with a hash of cdd2cbdfe1732967c0a68d1993024e9e
2014-01-22 13:35:14 [00000001] info [native] Agent already available locally
2014-01-22 13:35:14 [00000001] finest [native] SocketConnection::closeNoLock()
2014-01-22 13:35:14 [00000001] finest [native] Connection::closeNoLock()
2014-01-22 13:35:14 [00000001] finest [native] Connection::close()
2014-01-22 13:35:14 [00000001] finest [native] Connection::closeNoLock()
2014-01-22 13:35:14 [00000001] info [native] Loading Agent /appT/apachet1/dynatrace-5.5.0/agent/downloads/5.5.0.5301/native/solaris-sparc-64/libdtapacheagent22bo.so

 

2014-01-22 13:35:14.750843 info [native] Reading configuration file: /appT/apachet1/dynatrace-5.5.0/agent/conf/dtwsagent.ini

2014-01-22 13:35:14.752944 [256/00000001] info [native] Initialized logfile: /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:35:14.753774 [256/00000001] info [native] Max. logfile size: 5242880 bytes
2014-01-22 13:35:14.753919 [256/00000001] info [native] No sharedmemoryfilename directive supplied in configuration. Using default: <install directory>/agent/conf/dynaTraceWebServerSharedMemory
2014-01-22 13:35:14.753998 [256/00000001] info [native] Shared memory heap size: 4194304
2014-01-22 13:35:14.754036 [256/00000001] info [native] Master agent port: 18001
2014-01-22 13:35:14.754510 [256/00000001] fine [native] generated new sub agent ID: 0x745447b9
2014-01-22 13:35:14.754738 [256/00000001] info [native] Successfully attached to shared memory file /appT/apachet1/dynatrace-5.5.0/agent/conf//dynaTraceWebServerSharedMemory
2014-01-22 13:35:14.754802 [256/00000001] info [native] ----------------------------------------------------------------------------------------
2014-01-22 13:35:14.754862 [256/00000001] info [native] dynaTrace Agent for web servers (c) 2004-2013 dynaTrace software GmbH, www.dynatrace.com
2014-01-22 13:35:14.754893 [256/00000001] info [native] ----------------------------------------------------------------------------------------
2014-01-22 13:35:14.754926 [256/00000001] info [native] Version ..................... 5.5.0.5301, build date Sep 4 2013
2014-01-22 13:35:14.755068 [256/00000001] info [native] Command line is /usr/apache2/2.2/bin/sparcv9/httpd.worker -D 64bit -f /appT/apachet1/conf/httpd.conf -d /appT/apachet1 -DisIntra -k start
2014-01-22 13:35:14.755106 [256/00000001] info [native] Build platform .............. Solaris SPARC 64-bit
2014-01-22 13:35:14.755144 [256/00000001] info [native] Platform .................... SunOS 5.11 sun4v
2014-01-22 13:35:14.755172 [256/00000001] info [native] Bootstrap version ........... 5.5.0.5226
2014-01-22 13:35:14.755212 [256/00000001] info [native] Log level console ........... none
2014-01-22 13:35:14.755239 [256/00000001] info [native] Log level file .............. finest
2014-01-22 13:35:14.755266 [256/00000001] info [native] Log file .................... /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:35:14.755291 [256/00000001] fine [native] APR version ................. 1.3.8
2014-01-22 13:35:14.755320 [256/00000001] fine [native] Web server configurations:
2014-01-22 13:35:14.755356 [256/00000001] fine [native] Revision .................... 0
2014-01-22 13:35:14.755381 [256/00000001] fine [native] Web server configuration #0
2014-01-22 13:35:14.755407 [256/00000001] fine [native] Agent name .................. apachet1_CCFF-TEST

2014-01-22 13:35:14.755432 [256/00000001] fine [native] Passing paths ............... 1
2014-01-22 13:35:14.755456 [256/00000001] fine [native] Blocking paths .............. 0
2014-01-22 13:35:14.755493 [256/00000001] fine [native] Injection mode .............. auto
2014-01-22 13:35:14.755520 [256/00000001] fine [native] Send agent compressed ....... false
2014-01-22 13:35:14.755545 [256/00000001] fine [native] Capture requests ............ disabled
2014-01-22 13:35:14.755572 [256/00000001] fine [native] Start PurePaths ............. false
2014-01-22 13:35:14.755599 [256/00000001] fine [native] Capture bytes ............... false
2014-01-22 13:35:14.755624 [256/00000001] fine [native] Capture CPU times ........... false
2014-01-22 13:35:14.755661 [256/00000001] fine [native] Always send response header . false
2014-01-22 13:35:14.755687 [256/00000001] fine [native] Web tagging support license . false
2014-01-22 13:35:14.755713 [256/00000001] fine [native] Pattern rules apply ......... Include all but exclude following
2014-01-22 13:35:14.755737 [256/00000001] fine [native] Patterns:
2014-01-22 13:35:14.755760 [256/00000001] fine [native] <none>
2014-01-22 13:35:14.755799 [256/00000001] fine [native] Headers:
2014-01-22 13:35:14.755824 [256/00000001] fine [native] <none>
2014-01-22 13:35:14.755849 [256/00000001] fine [native] Number of applications ...... 1
2014-01-22 13:35:14.755872 [256/00000001] fine [native] Applications:
2014-01-22 13:35:14.755901 [256/00000001] fine [native] Name ........................ Default inactive application (Default Application)
2014-01-22 13:35:14.755927 [256/00000001] fine [native] User Experience Monitoring .. capture server side
2014-01-22 13:35:14.755964 [256/00000001] fine [native] JS Agent features:
2014-01-22 13:35:14.755990 [256/00000001] fine [native] <none>
2014-01-22 13:35:14.756059 [256/00000001] fine [native] util::SocketConnection::connect() ... start
2014-01-22 13:35:14.756141 [256/00000001] fine [native] SockAddr of Peer Service: 127.0.0.1:18001
2014-01-22 13:35:14.756262 [256/00000001] fine [native] Web server configurations:
2014-01-22 13:35:14.756306 [256/00000001] fine [native] Revision .................... 0
2014-01-22 13:35:14.756355 [256/00000001] fine [native] Web server configuration #0
2014-01-22 13:35:14.756390 [256/00000001] fine [native] Agent name .................. apachet1_CCFF-TEST

2014-01-22 13:35:14.756417 [256/00000001] fine [native] Passing paths ............... 1
2014-01-22 13:35:14.756442 [256/00000001] fine [native] Blocking paths .............. 0
2014-01-22 13:35:14.756467 [256/00000001] fine [native] Injection mode .............. auto
2014-01-22 13:35:14.756502 [256/00000001] fine [native] Send agent compressed ....... false
2014-01-22 13:35:14.756528 [256/00000001] fine [native] Capture requests ............ disabled
2014-01-22 13:35:14.756553 [256/00000001] fine [native] Start PurePaths ............. false
2014-01-22 13:35:14.756577 [256/00000001] fine [native] Capture bytes ............... false
2014-01-22 13:35:14.756604 [256/00000001] fine [native] Capture CPU times ........... false
2014-01-22 13:35:14.756629 [256/00000001] fine [native] Always send response header . false
2014-01-22 13:35:14.756667 [256/00000001] fine [native] Web tagging support license . false
2014-01-22 13:35:14.756694 [256/00000001] fine [native] Pattern rules apply ......... Include all but exclude following
2014-01-22 13:35:14.756717 [256/00000001] fine [native] Patterns:
2014-01-22 13:35:14.756741 [256/00000001] fine [native] <none>
2014-01-22 13:35:14.756770 [256/00000001] fine [native] Headers:
2014-01-22 13:35:14.756819 [256/00000001] fine [native] <none>
2014-01-22 13:35:14.756856 [256/00000001] fine [native] Number of applications ...... 1
2014-01-22 13:35:14.756889 [256/00000001] fine [native] Applications:
2014-01-22 13:35:14.756923 [256/00000001] fine [native] Name ........................ Default inactive application (Default Application)
2014-01-22 13:35:14.756958 [256/00000001] fine [native] User Experience Monitoring .. capture server side
2014-01-22 13:35:14.756984 [256/00000001] fine [native] JS Agent features:
2014-01-22 13:35:14.757021 [256/00000001] fine [native] <none>
2014-01-22 13:35:14.760677 [256/00000001] fine [native] Starting Webserver Agent: /appT/apachet1/dynatrace-5.5.0/agent/lib64/dtwsagent
2014-01-22 13:35:14.760740 [256/00000002] finer [native] IamAliveSpammer thread is sending registration packet
2014-01-22 13:35:14.760874 finer [native] sending sub agent properties: property count = 5
2014-01-22 13:35:14.770014 finer [native] new property: agent.build.platform - Solaris SPARC 64-bit
2014-01-22 13:35:14.770249 finer [native] new property: agent.logFileLocation - /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:35:14.770276 finer [native] new property: agent.build.date - Sep 4 2013

2014-01-22 13:35:14.770301 finer [native] new property: agent.bootstrap - 5.5.0.5226
2014-01-22 13:35:14.770323 finer [native] new property: agent.startuptime - 2014-01-22 13:35:14.756000
2014-01-22 13:35:14.777069 [256/00000001] info [native] Process created successfully, pid: 260
2014-01-22 13:35:14.777556 [256/00000001] info [native] Web server agent started, pid: 260. Waiting for initialization.
2014-01-22 13:35:24.778643 [256/00000001] warning [native] Web server agent did not start up after 10 seconds. Continuing execution.
2014-01-22 13:35:25.180010 [256/00000002] finer [native] IamAliveSpammer thread is sending registration packet
2014-01-22 13:35:25.180494 [256/00000002] finer [native] sending sub agent properties: property count = 5
2014-01-22 13:35:25.180577 [256/00000002] finer [native] new property: agent.build.platform - Solaris SPARC 64-bit
2014-01-22 13:35:25.180614 [256/00000002] finer [native] new property: agent.logFileLocation - /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:35:25.180652 [256/00000002] finer [native] new property: agent.build.date - Sep 4 2013
2014-01-22 13:35:25.180683 [256/00000002] finer [native] new property: agent.bootstrap - 5.5.0.5226
2014-01-22 13:35:25.180724 [256/00000002] finer [native] new property: agent.startuptime - 2014-01-22 13:35:14.756000
2014-01-22 13:35:36.183152 [256/00000002] finer [native] IamAliveSpammer thread is sending registration packet
2014-01-22 13:35:36.183318 [256/00000002] finer [native] sending sub agent properties: property count = 5
2014-01-22 13:35:36.183361 [256/00000002] finer [native] new property: agent.build.platform - Solaris SPARC 64-bit
2014-01-22 13:35:36.183395 [256/00000002] finer [native] new property: agent.logFileLocation - /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:35:36.183450 [256/00000002] finer [native] new property: agent.build.date - Sep 4 2013
2014-01-22 13:35:36.183483 [256/00000002] finer [native] new property: agent.bootstrap - 5.5.0.5226
2014-01-22 13:35:36.183518 [256/00000002] finer [native] new property: agent.startuptime - 2014-01-22 13:35:14.756000
2014-01-22 13:35:47.035514 [256/00000002] finer [native] IamAliveSpammer thread is sending registration packet
2014-01-22 13:35:47.035675 [256/00000002] finer [native] sending sub agent properties: property count = 5
2014-01-22 13:35:47.035715 [256/00000002] finer [native] new property: agent.build.platform - Solaris SPARC 64-bit
2014-01-22 13:35:47.035748 [256/00000002] finer [native] new property: agent.logFileLocation - /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:35:47.035781 [256/00000002] finer [native] new property: agent.build.date - Sep 4 2013
2014-01-22 13:35:47.035827 [256/00000002] finer [native] new property: agent.bootstrap - 5.5.0.5226
2014-01-22 13:35:47.035866 [256/00000002] finer [native] new property: agent.startuptime - 2014-01-22 13:35:14.756000
2014-01-22 13:35:58.038382 [256/00000002] finer [native] IamAliveSpammer thread is sending registration packet

2014-01-22 13:35:58.038508 [256/00000002] finer [native] sending sub agent properties: property count = 5
2014-01-22 13:35:58.038555 [256/00000002] finer [native] new property: agent.build.platform - Solaris SPARC 64-bit
2014-01-22 13:35:58.038617 [256/00000002] finer [native] new property: agent.logFileLocation - /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:35:58.038652 [256/00000002] finer [native] new property: agent.build.date - Sep 4 2013
2014-01-22 13:35:58.038682 [256/00000002] finer [native] new property: agent.bootstrap - 5.5.0.5226
2014-01-22 13:35:58.038711 [256/00000002] finer [native] new property: agent.startuptime - 2014-01-22 13:35:14.756000
2014-01-22 13:36:09.041247 [256/00000002] finer [native] IamAliveSpammer thread is sending registration packet
2014-01-22 13:36:09.041425 [256/00000002] finer [native] sending sub agent properties: property count = 5
2014-01-22 13:36:09.041468 [256/00000002] finer [native] new property: agent.build.platform - Solaris SPARC 64-bit
2014-01-22 13:36:09.041501 [256/00000002] finer [native] new property: agent.logFileLocation - /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:36:09.041562 [256/00000002] finer [native] new property: agent.build.date - Sep 4 2013
2014-01-22 13:36:09.041596 [256/00000002] finer [native] new property: agent.bootstrap - 5.5.0.5226
2014-01-22 13:36:09.041628 [256/00000002] finer [native] new property: agent.startuptime - 2014-01-22 13:35:14.756000
2014-01-22 13:36:20.044156 [256/00000002] finer [native] IamAliveSpammer thread is sending registration packet
2014-01-22 13:36:20.044279 [256/00000002] finer [native] sending sub agent properties: property count = 5
2014-01-22 13:36:20.044352 [256/00000002] finer [native] new property: agent.build.platform - Solaris SPARC 64-bit
2014-01-22 13:36:20.044388 [256/00000002] finer [native] new property: agent.logFileLocation - /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:36:20.044422 [256/00000002] finer [native] new property: agent.build.date - Sep 4 2013
2014-01-22 13:36:20.044452 [256/00000002] finer [native] new property: agent.bootstrap - 5.5.0.5226
2014-01-22 13:36:20.044496 [256/00000002] finer [native] new property: agent.startuptime - 2014-01-22 13:35:14.756000
2014-01-22 13:36:31.047090 [256/00000002] finer [native] IamAliveSpammer thread is sending registration packet
2014-01-22 13:36:31.047228 [256/00000002] finer [native] sending sub agent properties: property count = 5
2014-01-22 13:36:31.047269 [256/00000002] finer [native] new property: agent.build.platform - Solaris SPARC 64-bit
2014-01-22 13:36:31.047302 [256/00000002] finer [native] new property: agent.logFileLocation - /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:36:31.047363 [256/00000002] finer [native] new property: agent.build.date - Sep 4 2013
2014-01-22 13:36:31.047397 [256/00000002] finer [native] new property: agent.bootstrap - 5.5.0.5226
2014-01-22 13:36:31.047428 [256/00000002] finer [native] new property: agent.startuptime - 2014-01-22 13:35:14.756000

2014-01-22 13:37:48.068840 [256/00000002] finer [native] new property: agent.build.date - Sep 4 2013
2014-01-22 13:37:48.068869 [256/00000002] finer [native] new property: agent.bootstrap - 5.5.0.5226
2014-01-22 13:37:48.068899 [256/00000002] finer [native] new property: agent.startuptime - 2014-01-22 13:35:14.756000
2014-01-22 13:37:59.071537 [256/00000002] finer [native] IamAliveSpammer thread is sending registration packet
2014-01-22 13:37:59.071678 [256/00000002] finer [native] sending sub agent properties: property count = 5
2014-01-22 13:37:59.071721 [256/00000002] finer [native] new property: agent.build.platform - Solaris SPARC 64-bit
2014-01-22 13:37:59.071756 [256/00000002] finer [native] new property: agent.logFileLocation - /appT/apachet1/dynatrace-5.5.0/log/dt_dtapacheagent22bo_256.log
2014-01-22 13:37:59.071823 [256/00000002] finer [native] new property: agent.build.date - Sep 4 2013
2014-01-22 13:37:59.071856 [256/00000002] finer [native] new property: agent.bootstrap - 5.5.0.5226
2014-01-22 13:37:59.071889 [256/00000002] finer [native] new property: agent.startuptime - 2014-01-22 13:35:14.756000
2014-01-22 13:38:05.473698 [256/00000001] finest [native] SocketConnection::closeNoLock()
2014-01-22 13:38:05.473879 [256/00000001] finest [native] Connection::closeNoLock()
2014-01-22 13:38:05.473950 [256/00000001] finest [native] Connection::close()
2014-01-22 13:38:05.473984 [256/00000001] finest [native] Connection::closeNoLock()
2014-01-22 13:38:05.474044 [256/00000001] info [native] Signal 15 sent to process 260
2014-01-22 13:38:05.474079 [256/00000001] info [native] Waiting for master agent to terminate
2014-01-22 13:38:05.477842 [256/00000001] info [native] Process 260 terminated, exitcode: 15
2014-01-22 13:38:05.477920 [256/00000001] info [native] Shutdown complete.

 

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
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Roman S. · Aug 12, 2013 at 01:01 PM

Hi,

Do you currently have a license for Apache agents? You can check in the server settings page, tab license - called web server agents.

The message above indicates that you either have not bought web server agents or have more connected than you licensed.

Best, Roman

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
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Grandy S. · Aug 12, 2013 at 12:57 PM

Hi Dynatrace support,

 

I have done the configuration as per Apache Web Server Agent Configuration,

Currently in the agent group view, I can see a web server agent for Apache, but I still don’t get what I expect. We cannot get the header info from  http response. Besides, When I shutdown the apache webserver, I still can see the web agent in the agent group view.

Can u pls help check my configuration?

 

Agent for Apache2.xlsx

httpd.conf

dtwsagent.ini

dthostagent.ini

 

if I config as below I will encounter:too many 'Web Server' agents connected;license exhausted;

LoadModule dtagent_module "C:\Program Files\dynaTrace\dynaTrace 5.5.0\agent\lib\dtagent.dll"

 

 

 

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
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Aug 05, 2013 at 12:33 PM

You are on the right track - there is only one thing missing:

The Measure you created will "extract" this piece of information from the PurePath and make it available for the Business Transaction. Now - what you need to make sure first is that this piece of context information is actually captured ON the PurePath. Capturing Context Information is done through our Sensors, e.g: Web Server, Servlet, ASP.NET, ... In your case you want to configure the Web Server Sensor which allows you to capture both Request and Response Headers. Go to your System Profile - click on the Agent Group where you have the Web Server Agent placed, click on Sensor Configuration and then on Properties for the Web Server Sensor Pack. There you can define which headers you want to capture. Once this is turned on your PurePaths will contain that additional context information and then you can use the Measure to extract this data and use it for your BT

 

Andi

Comment

People who like this

0 Show 3 · 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
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Grandy S. · Aug 08, 2013 at 01:00 PM 0
Share

Thanks for your help,I have below questions:

  1. For option a)  Apache Web Server Agent Configuration, I have add the following line to your Apache configuration file (httpd.conf)

 

LoadModule dtagent_module "<agentPath>"

but here we cannot add an arguments on this line(See below samples for Tomcat configuration). So when I come to add a new agent group for Apache in dynatrace <agent mapping > page, I don't know what to fill in Alias and Agent Name for this apache agent. Do we have a way to specify an argument here?

 

Sample: agent group for Tomcat.

===================

Tomcat\config.properties:

enableDebug=false

extraJavaArgs=\ -agentpath\:"D\:\\ptc\\x-12-M070.12\\ Tomcat \\dtLib\\64\\dtagent.dll"\=name\=ptc.wt.Tomcat,server\=localhost\:9999     <For Apache , we don’t know how to add this arguments >

javaVM=server

jpdaAddress=tomcat

…..

Sanpshot for apache agent config:

Agent for Apache.xlsx

2. How to validate this piece of context information is actually captured on the PurePath? Do we have a way to check this?

avatar image Wolfgang G. Grandy S. · Aug 08, 2013 at 01:14 PM 0
Share

Hi,

the Apache agent is configured through the dtwsagent.ini file located in <dynaTrace installation directory>/agent/conf - that's where you can change the agent name as well as the collector to connect to (please see Web Server Agent Configuration for a full description)

If you capture a header field you should be able to see the captured data when you right-click on the web request node in the purepath and choose Details

Hope that helps

avatar image Rick B. Grandy S. · Aug 08, 2013 at 05:11 PM 0
Share

Hi, previous responses and links were for Apache HTTP Server.  It seems you want to place an agent on Apache Tomcat, in that case the doc is here: Apache Tomcat

Sorry, I misread the previous post.

avatar image

Answer by Grandy S. · Aug 05, 2013 at 12:19 PM

Hi Andreas,

Thanks for your reply, actually for above question our goal is try to grab http response header.

Currently we have a requirement to capture information from http response header using dynatrace 5.5.

For example, we want to get “Content-Type” field from http Response Headers. Do Dynatrace have this feature to capture response header?

 

I have attempt to configure Transaction base measure<Web Request –Response Header> .
But seem like that it didn’t work, we cannot get the field of header. So can you please help check if I have done the configuration correctly?
Or if you have any other approach to capture http response header, kindly suggest us. Thanks

Attached detail snapshot.

 configuration.xlsx

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
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Aug 05, 2013 at 08:27 AM

Hi. There are several options with Apache

a) Web Server Agent: when installing an Apache Web Server Agent - see details Apache Web Server Agent Configuration - then you will automatically get Process Health Data for the Web Server as explained here: Web Server Monitoring

b) If you do not have a Web Server Agent you can always use the Apache Monitor Plugin: Apache Monitor Plugin

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
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

6 People are following this question.

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

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api 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 hybris javascript appmon sensors good to know extensions 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 technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 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